syncthing/etc/linux-runit/run

9 lines
175 B
Plaintext
Raw Normal View History

2014-11-24 12:48:42 +00:00
#!/bin/sh
export USERNAME=jb
export HOME="/home/$USERNAME"
export SYNCTHING="$HOME/bin/syncthing"
setuidgid "$USERNAME" "$SYNCTHING" -logflags 0 2>&1 | logger -t syncthing