paulbsd-salt/states/sensu/sensu-agent.service.j2
2020-07-30 14:07:27 +02:00

19 lines
413 B
Django/Jinja

## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
[Unit]
Description=The Sensu Agent process.
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=sensu
Group=sensu
EnvironmentFile=-/etc/default/sensu-agent
EnvironmentFile=-/etc/sysconfig/sensu-agent
LimitNOFILE=65535
ExecStart=/usr/sbin/sensu-agent start
WorkingDirectory=/
[Install]
WantedBy=multi-user.target