This commit is contained in:
f 2019-10-07 16:04:29 -03:00
parent 4861d0f9a9
commit 9d862e960f
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D

View file

@ -2,11 +2,11 @@
pid=/tmp/syncthing.pid
dir=/home/syncthing
log=${home}/syncthing.log
log=${dir}/syncthing.log
rm -f ${pid}
install -dm 2750 -o syncthing -g syncthing ${home}/Sync/.stfolder
install -dm 2750 -o syncthing -g syncthing ${dir}/Sync/.stfolder
daemonize -p ${pid} -l ${pid} -u syncthing -c ${dir} \
-o ${log} -a -e ${log} \