1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gitlab_ynh.git synced 2024-09-03 18:36:35 +02:00

Change service to systemctl

This commit is contained in:
Pierre Bourré 2019-01-05 15:22:23 +01:00
parent 6276772e36
commit 989776deb1
3 changed files with 3 additions and 3 deletions

View file

@ -116,7 +116,7 @@ fi
# RELOAD NGINX # RELOAD NGINX
#================================================= #=================================================
service nginx reload systemctl reload nginx
#Fix for the CI #Fix for the CI
if sudo grep -qa container=lxc /proc/1/environ; if sudo grep -qa container=lxc /proc/1/environ;

View file

@ -131,7 +131,7 @@ fi
# RELOAD NGINX # RELOAD NGINX
#================================================= #=================================================
service nginx reload systemctl reload nginx
#================================================= #=================================================
# SETUP LOGROTATE # SETUP LOGROTATE

View file

@ -94,7 +94,7 @@ fi
#================================================= #=================================================
# Reload nginx service # Reload nginx service
service nginx reload systemctl reload nginx
#Fix for the CI #Fix for the CI
if sudo grep -qa container=lxc /proc/1/environ; if sudo grep -qa container=lxc /proc/1/environ;