linux - fixing nginx service not disabled and fix another missing error log path in UI

This commit is contained in:
fl0ppy-d1sk 2023-10-26 16:51:59 +02:00
parent 5887b894f0
commit fb21786b8c
No known key found for this signature in database
GPG key ID: 93EE47CC3D061500
2 changed files with 3 additions and 3 deletions

View file

@ -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..."

View file

@ -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,