Skip to content

Instantly share code, notes, and snippets.

@kacchan822
Created February 20, 2016 02:28
Show Gist options
  • Save kacchan822/3c195410dbea3beab3fb to your computer and use it in GitHub Desktop.
Save kacchan822/3c195410dbea3beab3fb to your computer and use it in GitHub Desktop.
SoftEtherVPN_systemd
[Unit]
Description=SoftEther VPN Server
After=network.target network-online.target
[Service]
Type=simple
ExecStart=/usr/local/vpnserver/vpnserver execsvc
ExecReload=/bin/kill -HUP $MAINPID
KillMode=control-group
Restart=on-failure
[Install]
WantedBy=multi-user.target
Alias=vpnserver.service
@jackytang
Copy link

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment