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

reorder SETUP LOGROTATE

This commit is contained in:
yalh76 2019-04-13 16:51:02 +02:00
parent a5bb4eb688
commit 6266247e61

View file

@ -141,6 +141,16 @@ sudo systemctl enable syncthing@$SYNCUSER.service
sudo yunohost service add syncthing@$SYNCUSER -l /var/log/syncthing.log
sudo systemctl start syncthing@$SYNCUSER.service
#=================================================
# GENERIC FINALIZATION
#=================================================
# SECURE FILES AND DIRECTORIES
#=================================================
# Remove acces to all users
sudo yunohost app removeaccess syncthing
sudo yunohost app addaccess syncthing -u $user
#=================================================
# SETUP LOGROTATE
#=================================================
@ -153,16 +163,6 @@ if [ -d "/etc/logrotate.d" ]; then
sudo chmod 0644 /etc/logrotate.d/syncthing
fi
#=================================================
# GENERIC FINALIZATION
#=================================================
# SECURE FILES AND DIRECTORIES
#=================================================
# Remove acces to all users
sudo yunohost app removeaccess syncthing
sudo yunohost app addaccess syncthing -u $user
#=================================================
# SETUP SSOWAT
#=================================================