summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@gmail.com>2017-05-30 14:11:12 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2017-05-30 14:11:12 +0100
commitcb4b4b5088b958c974e048ab9c82835f750ee0b0 (patch)
treee984346e89cc438af03b8b11ea1aae775ba1a0a7 /debian
parentec6cf932cdbfd21314a20fe42bfe5f9ae29e868e (diff)
Add try-restart to init script
try-restart is specified in the Debian Policy v4.0.0. We already do nothing for restart, so do the same for try-restart. Change-Id: Ia72f22d9bae7785f1d5557d111dd284bbf799ff2 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Diffstat (limited to 'debian')
-rw-r--r--debian/dpdk.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/dpdk.init b/debian/dpdk.init
index 01b4784..002ba29 100644
--- a/debian/dpdk.init
+++ b/debian/dpdk.init
@@ -35,7 +35,7 @@ start)
;;
stop)
;;
-restart|force-reload)
+try-restart|restart|force-reload)
;;
status)
output=$(/lib/dpdk/dpdk-init --status 2>&1) || error="$?"