Skip to content

Instantly share code, notes, and snippets.

@triffid
triffid / openrc-init-pia
Last active Nov 5, 2021
shell script for accessing PIA wireguard
View openrc-init-pia
#!/sbin/openrc-run
command="/root/bin/pia-wg.sh"
CONFIGDIR="${CONFIGDIR:-/var/cache/pia-wg}"
CONFIG="${CONFIG:-/etc/pia-wg/pia-wg.conf}"
extra_started_commands="reload"
depend() {