Skip to content

Instantly share code, notes, and snippets.

@zucht
zucht / openrc-init-pia
Last active April 27, 2021 18:38 — forked from triffid/openrc-init-pia
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() {
@zucht
zucht / build_nginx.sh
Last active July 25, 2019 17:28 — forked from MattWilcox/build_nginx.sh
add brotli support
#!/usr/bin/env bash
# names of latest versions of each package
export VERSION_PCRE=pcre-8.43
export VERSION_OPENSSL=openssl-1.1.1c
export VERSION_LIBMAXMINDDB=1.3.2
export VERSION_NGINX=nginx-1.17.1
export VERSION_NGX_HEADERS_MORE=0.33
export VERSION_NGX_GEOIP2=3.2