1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cockpit_ynh.git synced 2024-09-03 18:16:26 +02:00

Update install

This commit is contained in:
ericgaspar 2021-12-06 23:01:56 +01:00
parent f36ee7f88c
commit 43b1e23c12
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -89,18 +89,25 @@ ynh_add_nginx_config
ynh_script_progression --message="Starting a systemd service..." --weight=2
# Reload services
systemctl enable cockpit.socket --quiet
#systemctl enable cockpit.socket --quiet
ynh_systemd_action --service_name=cockpit.socket --action=start
#=================================================
# ADVERTISE SERVICE IN ADMIN PANEL
#=================================================
yunohost service add cockpit.socket --description="Monitor" #--log="/var/log/syslog"
#=================================================
# SETUP SSOWAT
#=================================================
ynh_script_progression --message="Configuring SSOwat..." --weight=1
# ynh_script_progression --message="Configuring SSOwat..." --weight=1
# Make app public if necessary or protect it
if [ $is_public -eq 1 ]
then
ynh_permission_update --permission "main" --add "visitors"
fi
# # Make app public if necessary or protect it
# if [ $is_public -eq 1 ]
# then
# ynh_permission_update --permission "main" --add "visitors"
# fi
#=================================================
# RELOAD NGINX