(u_u)

softetherをsystemdから起動する

Categories: [blog]
Tags: [ubuntu], [ubuntu18.04], [softether], [systemd], [systemctl]

[Unit]
Description=Softether VPN Server Service
After=network.target

[Service]
Type=forking
User=root
ExecStart=/usr/local/vpnserver/vpnserver start
ExecStop=/usr/local/vpnserver/vpnserver stop
Restart=on-abort
WorkingDirectory=/usr/local/vpnserver/

[Install]
WantedBy=multi-user.target