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:
parent
066c5162a2
commit
160278bb9f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue