These are the steps I took to get the vypvrvpn
CLI tool working on Ubuntu 18.04
Edit /etc/systemd/system/vyprvpn.service
so the contents are:
[Unit]
Description=VyprVPN Manager
Requires=network.target local-fs.target
After=network.target local-fs.target
[Service]
Type=simple
ExecStart=/usr/sbin/vyprvpn_service
ExecStop=/usr/bin/killall vyprvpn_service
RestartSec=5
Restart=always
[Install]
WantedBy=multi-user.target
The only change is on line 9 of the file. killall
becomes /usr/bin/killall
.
edit /etc/init.d/vyprvpn
remove or comment out the part that sources the function library (which doesn't exist in 18.04)
# Source function library.
. /etc/rc.d/init.d/functions
sudo systemctl daemon-reload
sudo service vyprvpn restart