diff options
Diffstat (limited to 'scripts/tuntox.service')
-rw-r--r-- | scripts/tuntox.service | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/tuntox.service b/scripts/tuntox.service new file mode 100644 index 0000000..e4fc3d3 --- /dev/null +++ b/scripts/tuntox.service | |||
@@ -0,0 +1,20 @@ | |||
1 | [Unit] | ||
2 | Description=Tuntox - TCP tunnel over Tox protocol | ||
3 | After=network.target | ||
4 | |||
5 | [Service] | ||
6 | Type=simple | ||
7 | |||
8 | # Copy the tuntox binary to /usr/bin first | ||
9 | |||
10 | ExecStart=/usr/bin/tuntox | ||
11 | Restart=on-failure | ||
12 | |||
13 | # Change this to your user and group for increased security | ||
14 | # Make sure this user/group has access to /etc/tuntox | ||
15 | #User=proxy | ||
16 | #Group=proxy | ||
17 | |||
18 | [Install] | ||
19 | WantedBy=multi-user.target | ||
20 | Alias=tuntox.service | ||