From 82fed0c6ac5a92c61e306100e2d65517530a97f2 Mon Sep 17 00:00:00 2001 From: Biette Lahire Date: Sat, 4 Jun 2016 14:33:44 +0200 Subject: [PATCH] debug install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 31bd48c..bf29a83 100644 --- a/scripts/install +++ b/scripts/install @@ -67,7 +67,7 @@ sudo apt-get update -qq sudo apt-get install syncthing -y --force-yes # Install and monitor service -sed -i '/^\[Service\]$/,/^\[/ s/^Restart=on-failure/Restart=always/' /lib/systemd/system/syncthing@.service +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