create folders
This commit is contained in:
parent
ab37995bd0
commit
697a8f8ded
1 changed files with 3 additions and 1 deletions
|
@ -2,10 +2,12 @@
|
|||
|
||||
pid=/tmp/syncthing.pid
|
||||
dir=/home/syncthing
|
||||
log=/dev/log
|
||||
log=${home}/syncthing.log
|
||||
|
||||
rm -f ${pid}
|
||||
|
||||
install -dm 2750 -o syncthing -g syncthing ${home}/Sync/.stfolder
|
||||
|
||||
daemonize -p ${pid} -l ${pid} -u syncthing -c ${dir} \
|
||||
-o ${log} -a -e ${log} \
|
||||
/usr/local/bin/syncthing -no-browser -gui-address='http://0.0.0.0:8443'
|
||||
|
|
Loading…
Reference in a new issue