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