summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/tuntox.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/tuntox.service b/scripts/tuntox.service
index 862a539..6027fa9 100644
--- a/scripts/tuntox.service
+++ b/scripts/tuntox.service
@@ -17,6 +17,16 @@ Restart=on-failure
17#User=proxy 17#User=proxy
18#Group=proxy 18#Group=proxy
19 19
20# Uncomment this and add a password to enable authentication
21#Environment=TUNTOX_SHARED_SECRET=yourpassword
22
23# Makes / read-only
24ProtectSystem=strict
25# … except for /etc/tuntox. Modify this if you change the default directory,
26# comment it out if you want to generate a new id on each start.
27# Remember that /etc/tuntox still needs to be writable by User!
28ReadWriteDirectories=/etc/tuntox
29
20[Install] 30[Install]
21WantedBy=multi-user.target 31WantedBy=multi-user.target
22Alias=tuntox.service 32Alias=tuntox.service