Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
esbeeb
· 2y ago · 0 comments
Can you give example code to stop that timer?
Comments
[–]
KAMSPioneer
2y ago
It's the same, but you disable the timer instead of the service. `sudo systemctl stop unattended-upgrades.timer`
[–]
yrro
2y ago
It will still start when you next boot up. 'systemctl disable --now unattended-upgrades.timer' will stop it now _and_ remove the symlink that starts it at boot.
[–]
jbverschoor
2y ago
Probably better to mask it instead if you don't want it to execute at all
[–]
Timber-6539
2y ago
Usually, it's the same service name but with .timer at the end instead of .service.