Update install
This commit is contained in:
@@ -159,6 +159,14 @@ ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app"
|
|||||||
chown root: "/etc/cron.d/$app"
|
chown root: "/etc/cron.d/$app"
|
||||||
chmod 644 "/etc/cron.d/$app"
|
chmod 644 "/etc/cron.d/$app"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# SETUP SSOWAT
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Configuring permissions..." --weight=3
|
||||||
|
|
||||||
|
# Restrict access to admin only
|
||||||
|
ynh_permission_update --permission="main" --remove="all_users" --add=$admin
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RELOAD NGINX
|
# RELOAD NGINX
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user