Skip to content

Commit

Permalink
Fix improper log directory creation in installer.
Browse files Browse the repository at this point in the history
Installer script had a typo which did not set the proper permissions for the program's logging directory. This is fixed now.
  • Loading branch information
btsimon97 committed Apr 12, 2021
1 parent a08eaaa commit 9f80bb9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ fi
if ! ls $PROG_LOG_DIR > /dev/null 2>&1; then
echo "Creating logging directory..."
mkdir -p $PROG_LOG_DIR
chown -R $PROG_USERNAME:$PROG_GROUPNAME $PROG_DATA_DIR
chmod -R 750 $PROG_DATA_DIR
chown -R $PROG_USERNAME:$PROG_GROUPNAME $PROG_LOG_DIR
chmod -R 750 $PROG_LOG_DIR
fi

#Deploy the tmpfiles config and reload systemd's config
Expand Down Expand Up @@ -297,4 +297,4 @@ echo -e "\ta. Uncomment the bluemon-ubertooth-scan line in /etc/crontab"
echo -e "\tb. tsystemctl start bluemon-unix.socket\n"
echo -e "3. Notification Server:"
echo -e "\ta. systemctl enable bluemon-notify.service"
echo -e "\tb. systemctl start bluemon-notify.service"
echo -e "\tb. systemctl start bluemon-notify.service"

0 comments on commit 9f80bb9

Please sign in to comment.