Y
Hacker News
new
|
ask
|
show
|
jobs
by
esbeeb
919 days ago
Can you give example code to stop that timer?
2 comments
KAMSPioneer
919 days ago
It's the same, but you disable the timer instead of the service. `sudo systemctl stop unattended-upgrades.timer`
link
yrro
919 days 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.
link
jbverschoor
919 days ago
Probably better to mask it instead if you don't want it to execute at all
link
Timber-6539
919 days ago
Usually, it's the same service name but with .timer at the end instead of .service.
link