void-packages/srcpkgs/syncthing/files/relaysrv/run

7 lines
116 B
Bash

#!/bin/sh
[ -r conf ] && . ./conf
exec 2>&1
exec chpst -u relaysrv strelaysrv -keys=/var/lib/relaysrv $RELAY_ARGS