$sudo fdisk -l

/dev/sdX1 32768 124778495 62372864 7 HPFS/NTFS/exFAT


$sudo blkid /dev/sdX1 


$vi /etc/fstab


UUID=xxxxxccc-xxxxxxxxx /media/Lacie ext4 defaults 0 0


$reboot








mkdir /etc/systemd/system/softether-vpn.service

 

softether-vpn.serviceに下記を「書き込む
 
[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/

$ sudo systemctl start softether-vpn.service
$ sudo systemctl status softether-vpn.service
● softether-vpn.service - Softether VPN Server Service
Loaded: loaded
(/etc/systemd/system/softether-vpn.service; disabled; vendor preset: disabled)
Active: active
(running) since Sun 2017-12-10 14:17:17 JST; 3s ago
Process: 2127
ExecStart=/usr/local/vpnserver/vpnserver start (code=exited, status=0/SUCCESS)
Main PID: 2129
(vpnserver)
Tasks: 24
(limit: 4915)
CGroup: /system.slice/softether-vpn.service
├─2129 /usr/local/vpnserver/vpnserver execsvc
└─2130 /usr/local/vpnserver/vpnserver execsvc