Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- export STNODEFAULTFOLDER=1
- export STNOUPGRADE=1
- export HOME=/secure/sneak/sync
- if [[ ! -d "$HOME" ]]; then
- echo "sync dir not mounted, exiting" > /dev/stderr
- sleep 10
- exit 1
- fi
- exec chpst -u syncthing:syncthing syncthing
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement