Skip to content

Instantly share code, notes, and snippets.

@trickart
Created July 14, 2018 15:47
Show Gist options
  • Save trickart/b9c28cb68b472644cf2f47bab75e486a to your computer and use it in GitHub Desktop.
Save trickart/b9c28cb68b472644cf2f47bab75e486a to your computer and use it in GitHub Desktop.
適当なSoftEther VPNのsystemd serviceファイル
[Unit]
Description=SoftEther VPN Server
After=network.target
[Service]
Type=forking
User=root
ExecStart=/usr/local/bin/vpnserver/vpnserver start
ExecStop=/usr/local/bin/vpnserver/vpnserver stop
Restart=on-failure
KillMode=process
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment