[Unit] Description=Automatic Update After=network-online.target [Service] Type=simple ExecStart=/bin/bash -c '/usr/bin/dnf makecache -q && /usr/bin/dnf upgrade --downloadonly -q' TimeoutStopSec=180 KillMode=process KillSignal=SIGINT [Install] WantedBy=multi-user.target