From 989776deb1e022f6eec5f0e86c0492c319711f1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20Bourr=C3=A9?= Date: Sat, 5 Jan 2019 15:22:23 +0100 Subject: [PATCH] Change service to systemctl --- scripts/change_url | 2 +- scripts/install | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 7f6b4cb..329007f 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -116,7 +116,7 @@ fi # RELOAD NGINX #================================================= -service nginx reload +systemctl reload nginx #Fix for the CI if sudo grep -qa container=lxc /proc/1/environ; diff --git a/scripts/install b/scripts/install index 5b5ebf8..833a70e 100644 --- a/scripts/install +++ b/scripts/install @@ -131,7 +131,7 @@ fi # RELOAD NGINX #================================================= -service nginx reload +systemctl reload nginx #================================================= # SETUP LOGROTATE diff --git a/scripts/upgrade b/scripts/upgrade index bd43833..6480e91 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -94,7 +94,7 @@ fi #================================================= # Reload nginx service -service nginx reload +systemctl reload nginx #Fix for the CI if sudo grep -qa container=lxc /proc/1/environ;