#
# Systemd unit for zpcimon PCI NIC optical module monitoring
#
# Copyright IBM Corp. 2024
#
# s390-tools is free software; you can redistribute it and/or modify
# it under the terms of the MIT license. See LICENSE for details.
#

[Unit]
Description=Monitor health of directly attached PCI NIC optical modules
# Documentation=man:zpcimon

[Service]
Type=exec
ExecStart=@usrsbin_path@/zpcimon --send-report --monitor --format jsonl --interval 86400
KillMode=control-group

[Install]
WantedBy=multi-user.target
