[Unit]
Description=Update logrotate configuration
Requires=updategraph.service
After=updategraph.service
[Service]
Type=oneshot
ExecStart=/usr/bin/logrotate-config.sh
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target