X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=rpm%2FSOURCES%2Fopenstack-cinder-backup.init;h=ce999f6412babbfc8237e608a2147263148f5e0c;hb=2488c85b5b4a4be509c0d7365dfffd3ba28258a8;hp=2e9593a00f0106afdb103e071446ee7f701be668;hpb=993abeb2fce8cbd8938f37fb5da513b9a32f9e86;p=openstack-build%2Fcinder-build.git diff --git a/rpm/SOURCES/openstack-cinder-backup.init b/rpm/SOURCES/openstack-cinder-backup.init index 2e9593a00..ce999f641 100644 --- a/rpm/SOURCES/openstack-cinder-backup.init +++ b/rpm/SOURCES/openstack-cinder-backup.init @@ -22,6 +22,7 @@ suffix=backup prog=openstack-cinder-$suffix exec="/usr/bin/cinder-$suffix" config="/etc/cinder/cinder.conf" +distconfig="/usr/share/cinder/cinder-dist.conf" pidfile="/var/run/cinder/cinder-$suffix.pid" logfile="/var/log/cinder/$suffix.log" @@ -33,7 +34,7 @@ start() { [ -x $exec ] || exit 5 [ -f $config ] || exit 6 echo -n $"Starting $prog: " - daemon --user cinder --pidfile $pidfile "$exec --config-file $config --logfile $logfile &>/dev/null & echo \$! > $pidfile" + daemon --user cinder --pidfile $pidfile "$exec --config-file $distconfig --config-file $config --logfile $logfile &>/dev/null & echo \$! > $pidfile" retval=$? echo [ $retval -eq 0 ] && touch $lockfile