1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/syncthing_ynh.git synced 2024-09-03 20:26:23 +02:00

Update install

This commit is contained in:
Lahire Biette 2018-01-13 15:07:02 +01:00 committed by GitHub
parent 91300c8c77
commit 672c768cf1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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