mirror of
https://github.com/YunoHost-Apps/syncthing_ynh.git
synced 2024-09-03 20:26:23 +02:00
SECURE FILES AND DIRECTORIES
This commit is contained in:
parent
71fc7e13b8
commit
6bda8ed9c4
1 changed files with 6 additions and 0 deletions
|
@ -151,6 +151,12 @@ sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf
|
|||
sed -i "s@PORTTOCHANGE@$GUIPORT@g" ../conf/nginx.conf
|
||||
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/syncthing.conf
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
#=================================================
|
||||
# SECURE FILES AND DIRECTORIES
|
||||
#=================================================
|
||||
|
||||
# Remove acces to all users
|
||||
sudo yunohost app removeaccess syncthing
|
||||
sudo yunohost app addaccess syncthing -u $user
|
||||
|
|
Loading…
Add table
Reference in a new issue