paulbsd-salt/states/old/sensu/agent/sensu-agent.service.j2
2021-08-19 21:15:24 +02:00

18 lines
412 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