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
|
# 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
|
||||||
|
|
Loading…
Add table
Reference in a new issue