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:
parent
6276772e36
commit
989776deb1
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -131,7 +131,7 @@ fi
|
|||
# RELOAD NGINX
|
||||
#=================================================
|
||||
|
||||
service nginx reload
|
||||
systemctl reload nginx
|
||||
|
||||
#=================================================
|
||||
# SETUP LOGROTATE
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue