There's a guy that created a script for he's own purposes.
So, just to have an idea:

[Unit]
Description=Sheepdog QEMU/KVM Block Storage
After=syslog.target

[Service]
EnvironmentFile=/etc/conf.d/
sheep.conf
ExecStart=/usr/sbin/sheep --pidfile /var/run/sheep.pid ${SHEEP_OPTS}
${SHEEP_PATH}
PIDFile=/var/run/sheep.pid
Type=forking

[Install]
WantedBy=multi-user.target

sheep.conf have this for example:

SHEEP_OPTS="-c local -D -u"
SHEEP_PATH="/var/lib/sheepdog"
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to