libvirt/src/locking/virtlockd.service.in
Guido Günther 1b9f5aa7fe Add Documentation fields to systemd service files
We point to the manpages where available and redirect to libvirt's
homepage as a last resort.
2014-01-09 09:32:55 +01:00

18 lines
463 B
SYSTEMD

[Unit]
Description=Virtual machine lock manager
Requires=virtlockd.socket
Documentation=man:virtlockd(8)
Documentation=http://libvirt.org
[Service]
EnvironmentFile=-/etc/sysconfig/virtlockd
ExecStart=@sbindir@/virtlockd $VIRTLOCKD_ARGS
ExecReload=/bin/kill -USR1 $MAINPID
# Loosing the locks is a really bad thing that will
# cause the machine to be fenced (rebooted), so make
# sure we discourage OOM killer
OOMScoreAdjust=-900
[Install]
Also=virtlockd.socket