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