89bf5d
# To customize, copy this file to /etc/systemd/system and edit there
89bf5d
#
89bf5d
# You can use this unit to periodically run mrtg.service.
89bf5d
# Only enable if you do not want to run mrtg as a daemon.
89bf5d
# Starting mrtg.timer while mrtg.service is running as a daemon has no point.
89bf5d
#
89bf5d
# Please disable /etc/crond.d/mrtg job when using this unit!
89bf5d
#
89bf5d
# Default is to run mrtg.service every 5 minutes, starting
89bf5d
# 1 minute after system boot.
89bf5d
89bf5d
[Unit]
89bf5d
Description=periodic invocation of MRTG
89bf5d
89bf5d
[Timer]
89bf5d
OnBootSec=1m
89bf5d
OnUnitActiveSec=5m
89bf5d
89bf5d
[Install]
89bf5d
WantedBy=multi-user.target