[sheepdog] [PATCH] fix systemd support on CentOS/RHEL 7
Vasiliy Tolstov
v.tolstov at selfip.ru
Fri Nov 28 15:16:52 CET 2014
2014-11-28 16:55 GMT+03:00 Vladislav Gorbunov <vadikgo at gmail.com>:
> Here is diff:
>
> diff --git a/script/sheepdog.service.in b/script/sheepdog.service.in
> index 555083e..e7600cc 100644
> --- a/script/sheepdog.service.in
> +++ b/script/sheepdog.service.in
> @@ -7,7 +7,7 @@ Wants=syslog.target
> EnvironmentFile=- at SYSCONFDIR@/conf.d/sheepdog.conf
> EnvironmentFile=- at SYSCONFDIR@/sysconfig/sheepdog
> EnvironmentFile=- at SYSCONFDIR@/default/sheepdog
> -ExecStart=@SBINDIR@/sheep --pidfile @LOCALSTATEDIR@/run/sheep.pid
> ${SHEEP_OPTS:-"--cluster local --log syslog --pidfile
> @LOCALSTATEDIR@/run/sheep.pid --upgrade @LOCALSTATEDIR@/lib/sheepdog"}
> +ExecStart=/bin/sh -c '@SBINDIR@/sheep --pidfile
> @LOCALSTATEDIR@/run/sheep.pid $(if [ -z "$SHEEP_OPTS" ]; then echo
> "--cluster local --log dst=syslog --upgrade @LOCALSTATEDIR@/lib/sheepdog";
> else echo $SHEEP_OPTS; fi)'
> PIDFile=@LOCALSTATEDIR@/run/sheep.pid
> Type=forking
Nice. Can you create patch via git format-patch -1, also you need to
git commit -s (to add signed off line inside patch). and send it to
this list via git send-email xxx at xx.x 0001-zzzz.patch ?
--
Vasiliy Tolstov,
e-mail: v.tolstov at selfip.ru
jabber: vase at selfip.ru
More information about the sheepdog
mailing list