Skip to content

Instantly share code, notes, and snippets.

@ruimgoncalves
Created March 10, 2017 17:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ruimgoncalves/f652f74f3a13b78ae4c18745baed67c3 to your computer and use it in GitHub Desktop.
Save ruimgoncalves/f652f74f3a13b78ae4c18745baed67c3 to your computer and use it in GitHub Desktop.
SoftEther Server Daemon for Systemd
#Location /etc/systemd/system/
[Unit]
Description=SoftEther VPN Server daemon
After=network-online.target
[Service]
Type=forking
ExecStart=/home/pi/startVPN.sh
ExecStop=/home/pi/vpnserver/vpnserver stop
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment