fix
This commit is contained in:
parent
4861d0f9a9
commit
9d862e960f
1 changed files with 2 additions and 2 deletions
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
pid=/tmp/syncthing.pid
|
pid=/tmp/syncthing.pid
|
||||||
dir=/home/syncthing
|
dir=/home/syncthing
|
||||||
log=${home}/syncthing.log
|
log=${dir}/syncthing.log
|
||||||
|
|
||||||
rm -f ${pid}
|
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} \
|
daemonize -p ${pid} -l ${pid} -u syncthing -c ${dir} \
|
||||||
-o ${log} -a -e ${log} \
|
-o ${log} -a -e ${log} \
|
||||||
|
|
Loading…
Reference in a new issue