syncthing/etc/linux-runit/run

9 lines
175 B
Plaintext
Raw Normal View History

2014-11-24 05:48:42 -07: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