2020-07-30 14:07:27 +02:00
|
|
|
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
2020-07-10 00:58:55 +02:00
|
|
|
[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]
|
2020-08-16 23:42:57 +02:00
|
|
|
WantedBy=multi-user.target
|