UI - use systemctl on Linux
This commit is contained in:
@@ -838,9 +838,9 @@ fi
|
||||
do_and_check_cmd chmod 755 /opt/bunkerized-nginx
|
||||
# Allow nginx group to do nginx reload as root
|
||||
if [ "$OS" != "alpine" ] ; then
|
||||
do_and_check_cmd chown root:nginx /opt/bunkerized-nginx/ui/nginx-reload.sh
|
||||
do_and_check_cmd chmod 750 /opt/bunkerized-nginx/ui/nginx-reload.sh
|
||||
do_and_check_cmd chmod u+s /opt/bunkerized-nginx/ui/nginx-reload.sh
|
||||
do_and_check_cmd chown root:nginx /opt/bunkerized-nginx/ui/linux.sh
|
||||
do_and_check_cmd chmod 750 /opt/bunkerized-nginx/ui/linux.sh
|
||||
do_and_check_cmd chmod u+s /opt/bunkerized-nginx/ui/linux.sh
|
||||
fi
|
||||
|
||||
# Prepare log files and folders
|
||||
|
||||
Reference in New Issue
Block a user