Skip to content

Instantly share code, notes, and snippets.

Avatar

Francois Allard FrAllard

  • Francois Allard Services Informatiques
  • Quebec, Canada
View GitHub Profile
@triffid
triffid / openrc-init-pia
Last active July 16, 2022 12:45
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() {