1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/zabbix-agent/files/nginx-zabbix.service
Florian Pritz b54f6b0c8b
nginx-zabbix: Let systemd restart us on SIGPIPE
For some reason tail behaves strangely and the code that should trap the
PIPE signal doesn't seem to do that. Let it die for now to maybe better
see what happens.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-03-16 10:17:04 +01:00

11 lines
172 B
SYSTEMD

[Unit]
Description=nginx zabbix monitoring
After=nginx.service
[Service]
ExecStart=/usr/local/bin/nginx-zabbix.pl
Restart=on-failure
[Install]
WantedBy=multi-user.target