From 672c768cf1c2f997862cc65756bda11f1e0af8bd Mon Sep 17 00:00:00 2001 From: Lahire Biette Date: Sat, 13 Jan 2018 15:07:02 +0100 Subject: [PATCH] Update install --- scripts/install | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install b/scripts/install index faf44ed..2867667 100644 --- a/scripts/install +++ b/scripts/install @@ -75,6 +75,7 @@ sudo systemctl start syncthing@$SYNCUSER.service # Configure logrotate if present if [ -d "/etc/logrotate.d" ]; then + sed -i "s@SYNCUSER@$SYNCUSER@g" ../conf/logrotate.conf sudo cp ../conf/logrotate.conf /etc/logrotate.d/syncthing sudo chmod 0755 /etc/logrotate.d/syncthing fi