From 1cab872562dedc006fcdb0ad0a0f0af343332b84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Camhaji?= Date: Sat, 23 May 2015 21:21:53 +0200 Subject: [PATCH] specify log file to yunohost service --- scripts/install | 2 +- scripts/remove | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index dd01ef1..e8a4166 100644 --- a/scripts/install +++ b/scripts/install @@ -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 diff --git a/scripts/remove b/scripts/remove index a506dde..4092aed 100644 --- a/scripts/remove +++ b/scripts/remove @@ -1,6 +1,5 @@ #!/bin/bash -syncVersion="0.10.29" syncHome="/home/yunohost.syncthing" syncUser=debian-syncthing syncSyncport=22000