Skip to content

add systemd startup description #14

Description

@makefu

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/pvpn@.service:

[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 pvpn@127.0.0.1.service

cheers,
makefu

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions