Hello!
I have changed Before to After and it is working!!!! Here is what the unit looks like now:
[Unit] Description=Unattended Upgrades Shutdown DefaultDependencies=no After=shutdown.target reboot.target halt.target network.target local-fs.target Documentation=man:unattended-upgrade(8)
[Service] Type=oneshot RemainAfterExit=yes ExecStop=/usr/share/unattended-upgrades/unattended-upgrade-shutdown TimeoutStopSec=900
[Install] WantedBy=shutdown.target
So the proper fix would be changing the Service to ExecStop= and Unit to After=
Hello!
I have changed Before to After and it is working!!!!
Here is what the unit looks like now:
[Unit] Unattended Upgrades Shutdown cies=no target reboot.target halt.target network.target local-fs.target man:unattended- upgrade( 8)
Description=
DefaultDependen
After=shutdown.
Documentation=
[Service] /usr/share/ unattended- upgrades/ unattended- upgrade- shutdown
Type=oneshot
RemainAfterExit=yes
ExecStop=
TimeoutStopSec=900
[Install] shutdown. target
WantedBy=
So the proper fix would be changing the Service to ExecStop= and Unit to After=