mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
linux - fixing nginx service not disabled and fix another missing error log path in UI
This commit is contained in:
parent
5887b894f0
commit
fb21786b8c
2 changed files with 3 additions and 3 deletions
|
@ -21,8 +21,8 @@ do_and_check_cmd chown -R nginx:nginx /usr/share/bunkerweb /var/cache/bunkerweb
|
|||
|
||||
# Stop and disable nginx on boot
|
||||
echo "Stop and disable nginx on boot..."
|
||||
do_and_check_cmd systemctl stop bunkerweb
|
||||
do_and_check_cmd systemctl disable bunkerweb
|
||||
do_and_check_cmd systemctl stop nginx
|
||||
do_and_check_cmd systemctl disable nginx
|
||||
|
||||
# Auto start BW service on boot and start it now
|
||||
echo "Enabling and starting bunkerweb service..."
|
||||
|
|
|
@ -96,7 +96,7 @@ class Instance:
|
|||
return False
|
||||
return (
|
||||
run(
|
||||
[join(sep, "usr", "sbin", "nginx")],
|
||||
[join(sep, "usr", "sbin", "nginx"), "-e", "/var/log/bunkerweb/error.log"],
|
||||
stdin=DEVNULL,
|
||||
stderr=STDOUT,
|
||||
check=False,
|
||||
|
|
Loading…
Reference in a new issue