From 11d1dc458b8f672fe5c4767eedf15ccf156bba59 Mon Sep 17 00:00:00 2001 From: Andriy Utkin Date: Thu, 7 Mar 2024 11:15:03 +0000 Subject: [PATCH] Restart web server after it's added to bluecherry group The current problem is that running web requests immediately after install gives "Fatal error: could not read configuration file." --- debian/bluecherry.preinst.template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/bluecherry.preinst.template b/debian/bluecherry.preinst.template index 0da44acd..411c01d5 100644 --- a/debian/bluecherry.preinst.template +++ b/debian/bluecherry.preinst.template @@ -56,6 +56,8 @@ case "$1" in -g bluecherry -G audio,video bluecherry fi usermod -a -G video,audio,bluecherry,dialout,adm www-data || true + # for bluecherry group membership to take effect, restart web server: + systemctl restart nginx ;; esac