sudo nano /etc/init.d/windscribe
Paste the following into the file and save it with ctrl+o; enter:
#!/usr/bin/openrc-run
name=$RC_SVCNAME
description="Windscribe VPN CLI Service"
supervisor="supervise-daemon"
command="/usr/bin/windscribe"
command_args="start"
depend() {
after syslog net netmount dns
}
stop() {
ebegin "Stopping $RC_SVCNAME"
/usr/bin/windscribe stop
eend $?
}
- Make it executable:
sudo chmod +x /etc/init.d/windscribe
- Add the service to default run level (if you want it running automatically on boot):
sudo rc-update add windscribe
- Run it right away:
sudo rc-service windscribe start
- Try to log-in into windscribe:
windscribe login
(then type-in username and pass) - Check the locations:
windscribe locations
- Connect to see if it works for you (in this example, to "Hops"):
windscribe connect Hops
That's it!
Otherwise, you can also install my package from AUR called windscribe-openrc (you need some kind of AUR helper to install it; I use pikaur):
After you install this package, the following command should be available: