From 6b7999c60a2e18173f61fc5cd459d5a1222f1294 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 18 Feb 2019 00:55:10 +0100 Subject: [PATCH] Systemctl is fine with regular services ;) --- scripts/install | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index 3b7cccd..5aac835 100644 --- a/scripts/install +++ b/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