1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/syncthing_ynh.git synced 2024-09-03 20:26:23 +02:00

specify log file to yunohost service

This commit is contained in:
Stéphane Camhaji 2015-05-23 21:21:53 +02:00
parent fc5b0e576c
commit 1cab872562
2 changed files with 1 additions and 2 deletions

View file

@ -67,7 +67,7 @@ sudo chmod 750 $syncHome/bin/syncthing
sudo cp ../conf/syncthing /etc/init.d/syncthing
sudo chmod 0755 /etc/init.d/syncthing
sudo update-rc.d syncthing defaults
sudo yunohost service add syncthing
sudo yunohost service add -l /var/log/syncthing.log syncthing
sudo service syncthing start
# Configure logrotate if present

View file

@ -1,6 +1,5 @@
#!/bin/bash
syncVersion="0.10.29"
syncHome="/home/yunohost.syncthing"
syncUser=debian-syncthing
syncSyncport=22000