Browse Source

Systemctl is fine with regular services ;)

Alexandre Aubin 6 years ago
parent
commit
b9bce541d1
1 changed files with 5 additions and 5 deletions
  1. 5 5
      scripts/install

+ 5 - 5
scripts/install

@@ -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