mirror of
https://github.com/YunoHost-Apps/squid3_ynh.git
synced 2024-09-03 20:26:11 +02:00
Removed ynh_system_reload
This commit is contained in:
parent
cf6e207dde
commit
881fb75e0f
2 changed files with 4 additions and 4 deletions
|
@ -111,14 +111,14 @@ ynh_store_file_checksum "/etc/squid3/squid.conf"
|
||||||
### - Remove the section "REMOVE SERVICE FROM ADMIN PANEL" in the remove script
|
### - Remove the section "REMOVE SERVICE FROM ADMIN PANEL" in the remove script
|
||||||
### - As well as the section ADVERTISE SERVICE IN ADMIN PANEL" in the restore script
|
### - As well as the section ADVERTISE SERVICE IN ADMIN PANEL" in the restore script
|
||||||
|
|
||||||
yunohost service add squid --log "/var/log/squid/access.log"
|
yunohost service add squid3 --log "/var/log/squid/access.log"
|
||||||
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RESTART SQUID'S SERVICE
|
# RESTART SQUID'S SERVICE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_system_reload --service_name=squid3 --action=restart
|
service squid3 restart
|
||||||
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -49,12 +49,12 @@ yunohost firewall allow --no-upnp TCP $port
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_secure_remove "/etc/squid3/squid.conf"
|
ynh_secure_remove "/etc/squid3/squid.conf"
|
||||||
ynh_restore_file "/etc/squid3/squid.conf"
|
ynh_restore_file "/etc/squid3/squid.conf"
|
||||||
ynh_system_reload --service_name=squid --action=restart
|
service squid3 restart
|
||||||
#=================================================
|
#=================================================
|
||||||
# ADVERTISE SERVICE IN ADMIN PANEL
|
# ADVERTISE SERVICE IN ADMIN PANEL
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
yunohost service add squid --log "/var/log/squid/access.log"
|
yunohost service add squid3 --log "/var/log/squid/access.log"
|
||||||
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue