]>
Commit | Line | Data |
---|---|---|
10b5bd74 TL |
1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
2 | From: Thomas Lamprecht <t.lamprecht@proxmox.com> | |
3 | Date: Wed, 26 Jun 2019 12:56:33 +0200 | |
4 | Subject: [PATCH] add patch to let smartd never quit íf no device is present | |
5 | ||
6 | Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com> | |
7 | --- | |
8 | debian/patches/series | 1 + | |
9 | ...ce-add-ConditionVirtualization-false.patch | 22 +++++++++++++++++++ | |
10 | 2 files changed, 23 insertions(+) | |
11 | create mode 100644 debian/patches/smartd.service-add-ConditionVirtualization-false.patch | |
12 | ||
13 | diff --git a/debian/patches/series b/debian/patches/series | |
14 | index 717fe33..7388a3d 100644 | |
15 | --- a/debian/patches/series | |
16 | +++ b/debian/patches/series | |
17 | @@ -6,3 +6,4 @@ | |
18 | 61_cciss-doc.patch | |
19 | 63_removable.patch | |
20 | manpage.diff | |
21 | +smartd.service-never-quit.patch | |
22 | diff --git a/debian/patches/smartd.service-never-quit.patch b/debian/patches/smartd.service-never-quit.patch | |
23 | new file mode 100644 | |
24 | index 0000000..7d2f573 | |
25 | --- /dev/null | |
26 | +++ b/debian/patches/smartd.service-never-quit.patch | |
27 | @@ -0,0 +1,23 @@ | |
28 | +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | |
29 | +From: Thomas Lamprecht <t.lamprecht@proxmox.com> | |
30 | +Date: Wed, 26 Jun 2019 12:54:59 +0200 | |
31 | +Subject: [PATCH] smartd.service: never quit on no device | |
32 | + | |
33 | +Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com> | |
34 | +--- | |
35 | + smartd.service.in | 2 +- | |
36 | + 1 file changed, 1 insertion(+), 1 deletion(-) | |
37 | + | |
38 | +diff --git a/smartd.service.in b/smartd.service.in | |
39 | +index d7e05c4..6a95612 100644 | |
40 | +--- a/smartd.service.in | |
41 | ++++ b/smartd.service.in | |
42 | +@@ -5,7 +5,7 @@ Documentation=man:smartd(8) man:smartd.conf(5) | |
43 | + [Service] | |
44 | + Type=notify | |
45 | + EnvironmentFile=-/usr/local/etc/sysconfig/smartmontools | |
46 | +-ExecStart=/usr/local/sbin/smartd -n $smartd_opts | |
47 | ++ExecStart=/usr/local/sbin/smartd --quit=never -n $smartd_opts | |
48 | + ExecReload=/bin/kill -HUP $MAINPID | |
49 | + StandardOutput=syslog | |
50 | + |