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