tuntox.service 807 B

123456789101112131415161718192021222324252627282930313233
  1. # Systemd service file
  2. [Unit]
  3. Description=Tuntox - TCP tunnel over Tox protocol
  4. After=network.target
  5. [Service]
  6. Type=simple
  7. # Copy the tuntox binary to /usr/bin first
  8. ExecStart=/usr/bin/tuntox
  9. Restart=on-failure
  10. # Change this to your user and group for increased security
  11. # Make sure this user/group has access to /etc/tuntox
  12. #User=proxy
  13. #Group=proxy
  14. # Uncomment this and add a password to enable authentication
  15. #Environment=TUNTOX_SHARED_SECRET=yourpassword
  16. # Makes / read-only
  17. ProtectSystem=strict
  18. # … except for /etc/tuntox. Modify this if you change the default directory,
  19. # comment it out if you want to generate a new id on each start.
  20. # Remember that /etc/tuntox still needs to be writable by User!
  21. ReadWriteDirectories=/etc/tuntox
  22. [Install]
  23. WantedBy=multi-user.target
  24. Alias=tuntox.service