Skip to content

Commit

Permalink
Merge pull request #10 from thin-edge/fix-include-conf-files-only
Browse files Browse the repository at this point in the history
fix(install): configure monitrc to only look for *.conf files
  • Loading branch information
reubenmiller authored May 22, 2024
2 parents ff0087c + b5f02ad commit dc18ea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packaging/postinstall
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ do_systemd() {
if [ -f /etc/monitrc ]; then
if ! grep -q "include /etc/monit/conf.d/\*" /etc/monitrc; then
echo "Adding /etc/monit/conf.d/ to the monit config (/etc/monitrc)" >&2
echo 'include /etc/monit/conf.d/*' >> /etc/monitrc
echo 'include /etc/monit/conf.d/*.conf' >> /etc/monitrc
fi
fi

Expand Down

0 comments on commit dc18ea7

Please sign in to comment.