[sheepdog] [PATCH] fix systemd support on CentOS/RHEL 7

Vladislav Gorbunov vadikgo at gmail.com
Fri Nov 28 04:24:53 CET 2014


Command:

ExecStart=/bin/sh -c '/usr/sbin/sheep --pidfile /var/run/sheep.pid $(if [
-z "$SHEEP_OPTS" ]; then echo "--cluster local --log dst=syslog --upgrade
/var/lib/sheepdog"; else echo $SHEEP_OPTS; fi)'

will work. But may be trust to sheepdog defaults and set:

ExecStart=/usr/sbin/sheep --pidfile /var/run/sheep.pid $SHEEP_OPTS

This will be more pretty. What do you think?

2014-11-27 21:36 GMT+10:00 Vasiliy Tolstov <v.tolstov at selfip.ru>:

> 2014-11-27 2:44 GMT+03:00 Vladislav Gorbunov <vadikgo at gmail.com>:
> > We can include default file like /etc/default/sheepdog in rpm package
> with
> > content:
> > SHEEP_OPTS="--log std=syslog --upgrade --cluster local /var/lib/sheepdog"
>
>
> This included file only for debian. To get it to gentoo or fedora you
> need to install proper file. I want not include in sheepdog any files
> and use safe defaults in service. Before user not created it by hand
> or package maintainer not add it to pkg.
>
> --
> Vasiliy Tolstov,
> e-mail: v.tolstov at selfip.ru
> jabber: vase at selfip.ru
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20141128/e8ca2328/attachment-0004.html>


More information about the sheepdog mailing list