Systemctl is fine with regular services ;)
This commit is contained in:
committed by
Keoma Brun
parent
212cd7ca18
commit
b9bce541d1
@@ -277,11 +277,11 @@ yunohost firewall allow --no-upnp UDP 67
|
|||||||
# Set default inits
|
# Set default inits
|
||||||
# The boot order of these services are important, so they are disabled by default
|
# The boot order of these services are important, so they are disabled by default
|
||||||
# and the ynh-hotspot service handles them.
|
# and the ynh-hotspot service handles them.
|
||||||
yunohost service disable hostapd
|
systemctl disable hostapd
|
||||||
yunohost service stop hostapd
|
systemctl stop hostapd
|
||||||
yunohost service enable php5-fpm
|
systemctl enable php5-fpm
|
||||||
yunohost service restart php5-fpm
|
systemctl restart php5-fpm
|
||||||
yunohost service reload nginx
|
systemctl reload nginx
|
||||||
|
|
||||||
# Remove IPv6 address set if there is a VPN installed
|
# Remove IPv6 address set if there is a VPN installed
|
||||||
if [[ $ip6_addr != none ]]; then
|
if [[ $ip6_addr != none ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user