Package: needrestart / 3.4-5~bpo9+1

01-use-invoke-rc-d.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Use invoke-rc.d instead of service command.
# Closes: #850948

diff -Naur needrestart-2.11.orig/needrestart needrestart-2.11/needrestart
--- needrestart-2.11.orig/needrestart	2017-01-15 19:47:25.000000000 +0100
+++ needrestart-2.11/needrestart	2017-01-17 13:39:07.262266148 +0100
@@ -333,7 +333,7 @@
 	    }
 	}
 	else {
-	    (q(service), $rc, q(restart));
+	    (q(invoke-rc.d), $rc, q(restart));
 	}
     }
 }