mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-29 10:10:19 +00:00
- Do not enable/start service during package install/upgrade - Configure needrestart to skip restarting service Closes: #1638. Signed-off-by: James Valleroy <jvalleroy@mailbox.org> [sunil: Provide proper regex string in needrestart configuration with qr()] Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
6 lines
192 B
Plaintext
6 lines
192 B
Plaintext
# Automatically restart services when needed.
|
|
$nrconf{restart} = 'a';
|
|
|
|
# Don't restart freedombox-manual-upgrade.service.
|
|
$nrconf{override_rc}->{qr(^freedombox-manual-upgrade\.service$)} = 0;
|