diff --git a/scripts/install b/scripts/install index a7883c1..f999f8c 100644 --- a/scripts/install +++ b/scripts/install @@ -70,8 +70,7 @@ sudo apt-get install syncthing -y --force-yes sudo sed -i '/^\[Service\]$/,/^\[/ s/^Restart=on-failure/Restart=always/' /lib/systemd/system/syncthing@.service sudo systemctl daemon-reload sudo systemctl enable syncthing@$SYNCUSER.service -#~ sudo yunohost service add -l /var/log/syncthing.log syncthing -sudo yunohost service add syncthing +sudo yunohost service add syncthing@$SYNCUSER -l /var/log/syncthing.log sudo systemctl start syncthing@$SYNCUSER.service # Configure logrotate if present