syncthing/etc/linux-runit/run
2014-11-24 13:48:42 +01:00

9 lines
175 B
Bash

#!/bin/sh
export USERNAME=jb
export HOME="/home/$USERNAME"
export SYNCTHING="$HOME/bin/syncthing"
setuidgid "$USERNAME" "$SYNCTHING" -logflags 0 2>&1 | logger -t syncthing