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