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:17:42 +01:00
parent 3cbb950504
commit c5402814aa
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -79,15 +79,16 @@ ynh_add_nginx_config
#================================================= #=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
yunohost service add cockpit.socket --description="Monitor" --log="/var/log/$app/$app.log" #yunohost service add cockpit.socket --description="Monitor" --log="/var/log/$app/$app.log"
#================================================= #=================================================
# START SYSTEMD SERVICE # START SYSTEMD SERVICE
#================================================= #=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=2 ynh_script_progression --message="Starting a systemd service..." --weight=2
ynh_systemd_action --service_name=cockpit.socket --action="start" --log_path="/var/log/$app/$app.log" #ynh_systemd_action --service_name=cockpit.socket --action="start" --log_path="/var/log/$app/$app.log"
systemctl enable cockpit.socket
systemctl start cockpit.socket
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX
#================================================= #=================================================