Skip to content

Commit

Permalink
Create /var/run/bluecherry in postinstall.sh
Browse files Browse the repository at this point in the history
postinstall.sh fails for Debian systems if /var/run/bluecherry doesn't exist.

For unclear reasons it sometimes doesn't exist.

See https://forums.bluecherrydvr.com/t/installation-error-on-var-run-bluecherry/891
  • Loading branch information
curtishall authored and andrey-utkin committed Sep 4, 2024
1 parent 2a178a5 commit be94508
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions misc/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ case "$1" in
su bluecherry -c "chmod -R 770 /var/lib/bluecherry"
if [[ $IN_DEB ]]
then
mkdir -p /var/run/bluecherry
chown -R bluecherry:bluecherry /var/run/bluecherry
su bluecherry -c "chmod -R 750 /var/run/bluecherry"
fi
Expand Down

0 comments on commit be94508

Please sign in to comment.