Skip to content

Instantly share code, notes, and snippets.

@Blackpaw
Blackpaw / piactl.service
Last active March 4, 2023 14:37
piactl systemd script
[Unit]
Description=Private Internet Access Control
Wants=network-online.target piavpn.service
After=syslog.target network.target network-online.target piavpn.service
[Service]
Type=oneshot
ExecStart=/usr/local/bin/piactl connect
RemainAfterExit=true
Restart=on-failure