void-packages/srcpkgs/wireproxy/files/wireproxy/run

9 lines
159 B
Bash

#!/bin/sh
exec 2>&1
[ -r ./conf ] && . ./conf
export HOME=/var/lib/wireproxy
exec chpst -u _wireproxy wireproxy --config ${CONFFILE:-/etc/wireproxy/config}