mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
upgrades: Add needrestart to restart services as needed
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
1 parent
935db83d8b
commit
0b5c195e17
2 files changed
+3
-1
No files matched your search
@@ -17,7 +17,7 @@ version = 3
|
||||
|
||||
is_essential = True
|
||||
|
||||
managed_packages = ['unattended-upgrades']
|
||||
managed_packages = ['unattended-upgrades', 'needrestart']
|
||||
|
||||
_description = [
|
||||
_('Check for and apply the latest software and security updates.')
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# Automatically restart services when needed.
|
||||
$nrconf{restart} = 'a';
|
||||
Reference in new issue
Block a user