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:
parent
a5bb4eb688
commit
6266247e61
1 changed files with 10 additions and 10 deletions
|
@ -141,6 +141,16 @@ sudo systemctl enable syncthing@$SYNCUSER.service
|
||||||
sudo yunohost service add syncthing@$SYNCUSER -l /var/log/syncthing.log
|
sudo yunohost service add syncthing@$SYNCUSER -l /var/log/syncthing.log
|
||||||
sudo systemctl start syncthing@$SYNCUSER.service
|
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
|
# SETUP LOGROTATE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -153,16 +163,6 @@ if [ -d "/etc/logrotate.d" ]; then
|
||||||
sudo chmod 0644 /etc/logrotate.d/syncthing
|
sudo chmod 0644 /etc/logrotate.d/syncthing
|
||||||
fi
|
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
|
# SETUP SSOWAT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue