Skip to content

Instantly share code, notes, and snippets.

View FrAllard's full-sized avatar

Francois Allard FrAllard

  • Francois Allard Services Informatiques
  • Quebec, Canada
View GitHub Profile
@triffid
triffid / openrc-init-pia
Last active February 15, 2024 06:48
shell script for accessing PIA wireguard
#!/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() {