pvpn icon indicating copy to clipboard operation
pvpn copied to clipboard

add systemd startup description

Open makefu opened this issue 12 years ago • 0 comments

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

makefu avatar Oct 22 '13 22:10 makefu