libvirt/src/locking/virtlockd.service.in

18 lines
463 B
SYSTEMD
Raw Normal View History

[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