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
|
ynh_script_progression --message="Starting a systemd service..." --weight=2
|
||||||
|
|
||||||
# Reload services
|
# 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
|
# 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
|
# # Make app public if necessary or protect it
|
||||||
if [ $is_public -eq 1 ]
|
# if [ $is_public -eq 1 ]
|
||||||
then
|
# then
|
||||||
ynh_permission_update --permission "main" --add "visitors"
|
# ynh_permission_update --permission "main" --add "visitors"
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RELOAD NGINX
|
# RELOAD NGINX
|
||||||
|
|
Loading…
Add table
Reference in a new issue