summaryrefslogtreecommitdiff
path: root/contrib/systemd/qemu-pr-helper.service
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/systemd/qemu-pr-helper.service')
-rw-r--r--contrib/systemd/qemu-pr-helper.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/contrib/systemd/qemu-pr-helper.service b/contrib/systemd/qemu-pr-helper.service
new file mode 100644
index 0000000000..a1d27b0221
--- /dev/null
+++ b/contrib/systemd/qemu-pr-helper.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Persistent Reservation Daemon for QEMU
+
+[Service]
+WorkingDirectory=/tmp
+Type=simple
+ExecStart=/usr/bin/qemu-pr-helper
+PrivateTmp=yes
+ProtectSystem=strict
+ReadWritePaths=/var/run
+RestrictAddressFamilies=AF_UNIX
+Restart=always
+RestartSec=0
+
+[Install]