From 75fe3f9a91438ec6ed6dbee42fac56213ed32eb7 Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Sun, 2 Oct 2016 06:05:10 +0000 Subject: Introduce --no-stop-on-upgrade as alias of -r Signed-off-by: Niels Thykier --- dh_systemd_start | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'dh_systemd_start') diff --git a/dh_systemd_start b/dh_systemd_start index 9914bbd1..6cee5c01 100755 --- a/dh_systemd_start +++ b/dh_systemd_start @@ -13,7 +13,7 @@ use Cwd qw(getcwd abs_path); =head1 SYNOPSIS -B [S>] [B<--restart-after-upgrade>] [B<--no-restart-on-upgrade>] [S ...>] +B [S>] [B<--restart-after-upgrade>] [B<--no-stop-on-upgrade>] [S ...>] =head1 DESCRIPTION @@ -51,7 +51,7 @@ Undo a previous B<--restart-after-upgrade> (or the default of compat stopped in the F script and started again in the F script. -=item B<-r>, B<--no-restart-on-upgrade> +=item B<-r>, B<--no-stop-on-upgrade>, B<--no-restart-on-upgrade> Do not stop service on upgrade. @@ -80,6 +80,7 @@ $dh{RESTART_AFTER_UPGRADE} = 1 if not compat(9); init(options => { "r" => \$dh{R_FLAG}, + 'no-stop-on-upgrade' => \$dh{R_FLAG}, "no-restart-on-upgrade" => \$dh{R_FLAG}, "no-start" => \$dh{NO_START}, "R|restart-after-upgrade!" => \$dh{RESTART_AFTER_UPGRADE}, -- cgit v1.2.3