File: 03-ignore-serial-getty.diff

package info (click to toggle)
needrestart 3.6-4%2Bdeb12u3
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 936 kB
  • sloc: perl: 3,371; sh: 277; makefile: 82
file content (13 lines) | stat: -rw-r--r-- 334 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Subject: do not restart serial-getty@*.service
Author: Helmut Grohne <helmut@subdivi.de>

--- a/ex/needrestart.conf
+++ b/ex/needrestart.conf
@@ -98,6 +98,7 @@ $nrconf{override_rc} = {
 
     # gettys
     qr(^getty@.+\.service) => 0,
+    qr(^serial-getty@.+\.service) => 0,
 
     # systemd --user
     qr(^user@\d+\.service) => 0,