paulbsd-salt/states/sensu/sensu-agent.service.j2

19 lines
413 B
Plaintext
Raw Normal View History

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-07-30 14:07:27 +02:00
WantedBy=multi-user.target