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:
parent
fc5b0e576c
commit
1cab872562
2 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
syncVersion="0.10.29"
|
||||
syncHome="/home/yunohost.syncthing"
|
||||
syncUser=debian-syncthing
|
||||
syncSyncport=22000
|
||||
|
|
Loading…
Add table
Reference in a new issue