Ansible/roles/sensu.sensu/templates/sensuclient_openbsd.j2
James Tombleson b7facd7394 Role Adjustments
Added Sensu
Moved default role downloads to ./roles
Added unattended-upgrades
2019-04-29 07:08:11 -07:00

14 lines
356 B
Django/Jinja

#!/bin/sh
daemon="/usr/local/bin/sensu-client"
daemon_flags="-b -c {{ sensu_config_path }}/conf.json -d {{ sensu_config_path }}/conf.d -e {{ sensu_config_path }}/extensions -p /var/run/sensu-client.pid -l /var/log/sensu/sensu-client.log -L info"
. /etc/rc.d/rc.subr
rc_reload="NO"
pexp="/usr/local/bin/ruby23 /usr/local/bin/sensu-client.*"
rc_cmd $1