Skip to content

Commit

Permalink
fix monit config removal (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbyquaker committed Aug 18, 2019
1 parent 8e7e23d commit 5cbe115
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions addon_files/redmatic/bin/redmatic
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,9 @@ case "$1" in
rm $CONF_DIR/lighttpd/redmatic.conf
rm $CONF_DIR/rc.d/redmatic

if [ -f /usr/local/etc/redmatic-monit.cfg ]; then
rm /usr/local/etc/redmatic-monit.cfg
if [ -f /usr/local/etc/monit-redmatic.cfg ]; then
rm /usr/local/etc/monit-redmatic.cfg
/usr/bin/monit reload
fi

mount -o remount,rw /
Expand Down

0 comments on commit 5cbe115

Please sign in to comment.