Skip to content
Permalink
Browse files

Updated script to reload monit

  • Loading branch information...
davidmerfield committed Mar 7, 2019
1 parent d85ba3b commit 5bd4f8213e5158e6f070303809f725b62f75a632
Showing with 6 additions and 1 deletion.
  1. +6 −1 scripts/production/reload_monit_rc.sh
@@ -7,6 +7,11 @@ DESTINATION=/etc
FILE=monit.rc

cp "$SOURCE/$FILE" "$DESTINATION/$FILE"

# Monit requires that root owns the configuration file and that is has ```0700``` permissions.
chmod 0700 "$DESTINATION/$FILE"

stop monit
start monit
start monit

echo "Make sure localhost can be pinged by monit"

0 comments on commit 5bd4f82

Please sign in to comment.
You can’t perform that action at this time.