mirror of
https://github.com/YunoHost-Apps/hotspot_ynh.git
synced 2024-09-03 19:25:53 +02:00
Systemctl is fine with regular services ;)
This commit is contained in:
parent
212cd7ca18
commit
b9bce541d1
1 changed files with 5 additions and 5 deletions
|
@ -277,11 +277,11 @@ yunohost firewall allow --no-upnp UDP 67
|
|||
# Set default inits
|
||||
# The boot order of these services are important, so they are disabled by default
|
||||
# and the ynh-hotspot service handles them.
|
||||
yunohost service disable hostapd
|
||||
yunohost service stop hostapd
|
||||
yunohost service enable php5-fpm
|
||||
yunohost service restart php5-fpm
|
||||
yunohost service reload nginx
|
||||
systemctl disable hostapd
|
||||
systemctl stop hostapd
|
||||
systemctl enable php5-fpm
|
||||
systemctl restart php5-fpm
|
||||
systemctl reload nginx
|
||||
|
||||
# Remove IPv6 address set if there is a VPN installed
|
||||
if [[ $ip6_addr != none ]]; then
|
||||
|
|
Loading…
Reference in a new issue