Skip to content

Commit

Permalink
formatting and readme corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
Respheal committed Dec 17, 2020
1 parent ab1603a commit d925b48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@ Available variables are listed below with their default values (you can also see

| Variable | Description |
| -------- | ----------- |
| monit_daemon | Default: `monit`
| monit_executable_path | Default: `/usr/bin/monit`
| monit_config_dir | Default: `/etc/monit.d/`
| monitored_services | Default: `['httpd', 'mariadb', 'nginx', 'php-fpm', 'redis']`
| monit_systemd_restart | Default: `true`
| systemd_restart_setting | Default: `on-failure`

## Example Playbook

Expand Down
2 changes: 1 addition & 1 deletion templates/etc/systemd/restart.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ RestartSec=5
StartLimitInterval=500
StartLimitBurst=5
{% endif %}

{% if systemd_version is defined and systemd_version is version('230', '>=') %}
[Unit]
Description=Monit, proactive monitoring utility for unix systems
Expand All @@ -28,5 +27,6 @@ After=network.target
StartLimitIntervalSec=500
StartLimitBurst=5
{% endif %}

[Install]
WantedBy=multi-user.target

0 comments on commit d925b48

Please sign in to comment.