From ec89fa039bb115bce8dc40c4b72359c07e487a3a Mon Sep 17 00:00:00 2001 From: Attila Fazekas Date: Thu, 29 Jan 2015 11:16:00 +0100 Subject: [PATCH] Remove --skip-redirect form the tgtd service restart skip-redirect was intruduced with the first commit related to cinder support, nobody remembers why was this undocumented option there those times. Change-Id: If579a93090392327bce96ddd1b562977edf762de --- lib/cinder | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/cinder b/lib/cinder index 1bc6ddd7c5..524152b302 100644 --- a/lib/cinder +++ b/lib/cinder @@ -450,10 +450,7 @@ function start_cinder { _configure_tgt_for_config_d if is_ubuntu; then sudo service tgt restart - elif is_fedora; then - # bypass redirection to systemctl during restart - sudo /sbin/service --skip-redirect tgtd restart - elif is_suse; then + elif is_fedora || is_suse; then restart_service tgtd else # note for other distros: unstack.sh also uses the tgt/tgtd service