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:
parent
f36ee7f88c
commit
43b1e23c12
1 changed files with 14 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue