summaryrefslogtreecommitdiff
path: root/scripts/tuntox.service
blob: 862a5399d0c4f95800c31bfc16c4037dc7e11e48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Systemd service file 

[Unit]
Description=Tuntox - TCP tunnel over Tox protocol
After=network.target

[Service]
Type=simple

# Copy the tuntox binary to /usr/bin first

ExecStart=/usr/bin/tuntox
Restart=on-failure

# Change this to your user and group for increased security
# Make sure this user/group has access to /etc/tuntox
#User=proxy
#Group=proxy

[Install]
WantedBy=multi-user.target
Alias=tuntox.service