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
| ... | ... |
@@ -450,10 +450,7 @@ function start_cinder {
|
| 450 | 450 |
_configure_tgt_for_config_d |
| 451 | 451 |
if is_ubuntu; then |
| 452 | 452 |
sudo service tgt restart |
| 453 |
- elif is_fedora; then |
|
| 454 |
- # bypass redirection to systemctl during restart |
|
| 455 |
- sudo /sbin/service --skip-redirect tgtd restart |
|
| 456 |
- elif is_suse; then |
|
| 453 |
+ elif is_fedora || is_suse; then |
|
| 457 | 454 |
restart_service tgtd |
| 458 | 455 |
else |
| 459 | 456 |
# note for other distros: unstack.sh also uses the tgt/tgtd service |