Ubuntu 20.04 で Softether を systemd のサービスとして登録するには、/etc/systemd/system/vpnserver.service に次のように記述する。
Softether のドキュメント をほぼ移植しただけだが、今回はロックファイルの作成はしていない。
[Unit]Description=Softether VPNAfter=network.target[Service]Type=forkingUser=rootExecStart=/usr/local/vpnserver/vpnserver startExecStop=/usr/local/vpnserver/vpnserver stopRestart=always[Install]WantedBy=multi-user.target