<div dir="ltr">Didn't work:<div><div>sheepdog.service - Sheepdog QEMU/KVM Block Storage</div><div>   Loaded: loaded (/usr/lib/systemd/system/sheepdog.service; enabled)</div><div>   Active: failed (Result: exit-code) since Чт 2014-11-27 01:57:52 MAGT; 1s ago</div><div>  Process: 30115 ExecStart=/usr/sbin/sheep --pidfile /var/run/sheep.pid $(echo ${SHEEP_OPTS:-"--cluster local --log dst=syslog - -upgrade /var/lib/sheepdog"}) (code=exited, status=1/FAILURE)</div><div> Main PID: 29990 (code=exited, status=0/SUCCESS)</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-27 1:11 GMT+10:00 Vasiliy Tolstov <span dir="ltr"><<a href="mailto:v.tolstov@selfip.ru" target="_blank">v.tolstov@selfip.ru</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">2014-11-26 18:05 GMT+03:00 Vladislav Gorbunov <<a href="mailto:vadikgo@gmail.com">vadikgo@gmail.com</a>>:<br>
> Shell command ${SHEEP_OPTS:-"--cluster local --log dst=syslog --upgrade<br>
> /var/lib/sheepdog"} didn't work on my systemd version 208 release<br>
> 11.el7_0.4.<br>
<br>
<br>
</span>Hm. Try to replace<br>
<span class="">${SHEEP_OPTS:-"--cluster local --log dst=syslog - -upgrade /var/lib/sheepdog"}<br>
</span>with<br>
$(echo ${SHEEP_OPTS:-"--cluster local --log dst=syslog - -upgrade<br>
/var/lib/sheepdog"})<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
--<br>
Vasiliy Tolstov,<br>
e-mail: <a href="mailto:v.tolstov@selfip.ru">v.tolstov@selfip.ru</a><br>
jabber: <a href="mailto:vase@selfip.ru">vase@selfip.ru</a><br>
</div></div></blockquote></div><br></div>