sheepdog/sheepdog.service

19 lines
577 B
SYSTEMD
Raw Normal View History

2012-01-12 05:34:06 +00:00
[Unit]
Description=Sheepdog QEMU/KVM Block Storage
After=network.target
Requires=corosync.service
2012-01-12 05:34:06 +00:00
[Service]
EnvironmentFile=/etc/sysconfig/sheepdog
ExecStart=/usr/sbin/sheep -f --log level=${SHEEPDOG_LOGLEVEL},dst=${SHEEPDOG_LOGDEST},format=${SHEEPDOG_LOGFMT} $SHEEPDOG_EXTRA_OPTS ${SHEEPDOG_PATH}
Restart=on-failure
RestartSec=2s
LimitNOFILE=32768
2012-01-12 05:34:06 +00:00
# Use sheepdog.timer instead. Because corosync does not provide
# notification via sd_notify, we introduce an arbitrary delay between
# starting corosync.service and starting sheepdog.
#[Install]
#WantedBy=multi-user.target