Skip to content

Commit

Permalink
Restart web server after it's added to bluecherry group
Browse files Browse the repository at this point in the history
The current problem is that running web requests immediately after
install gives "Fatal error: could not read configuration file."
  • Loading branch information
andrey-utkin committed Mar 7, 2024
1 parent 8506f15 commit 11d1dc4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions debian/bluecherry.preinst.template
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 11d1dc4

Please sign in to comment.