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

change logrotate attr to 644

Suite à ce mail:
/etc/cron.daily/logrotate:
error: Ignoring syncthing because of bad file mode - must be 0644 or 0444.
This commit is contained in:
tuxmouraille 2018-10-09 09:59:37 +02:00 committed by GitHub
parent 066c5162a2
commit 160278bb9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,7 +77,7 @@ sudo systemctl start syncthing@$SYNCUSER.service
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
sudo chmod 0644 /etc/logrotate.d/syncthing
fi
# Configure Nginx