From cb4b4b5088b958c974e048ab9c82835f750ee0b0 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Tue, 30 May 2017 14:11:12 +0100 Subject: [PATCH] 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 --- debian/dpdk.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/dpdk.init b/debian/dpdk.init index 01b47845..002ba29f 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="$?" -- 2.16.6