pvpn
pvpn copied to clipboard
add systemd startup description
Add a description for systemd to be able to automatically startup pvpn when the system is booting. The file might look something like that: /etc/systemd/system/[email protected]:
[Unit] Description=pvpn After=network.target [Service] Type=oneshot ExecStart=/usr/bin/pvpn -t ssh-3 root@%i default ExecStop=/usr/bin/pvpn -S RemainAfterExit=yes [Install] WantedBy=multi-user.target
usage: systemctl enable [email protected]
cheers, makefu