paulbsd-salt/states/sensu/agent/sensu-agent.service.j2
2020-08-16 23:42:57 +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