54 lines
1.3 KiB
Diff
54 lines
1.3 KiB
Diff
From f16f7f90721c9d6965e48c7338a600d23b58e19d Mon Sep 17 00:00:00 2001
|
|
From: Chris Leech <cleech@redhat.com>
|
|
Date: Tue, 22 Jan 2013 14:27:12 -0800
|
|
Subject: [PATCH 11/32] iscsiuio systemd unit files
|
|
|
|
---
|
|
etc/systemd/iscsiuio.service | 17 +++++++++++++++++
|
|
etc/systemd/iscsiuio.socket | 9 +++++++++
|
|
2 files changed, 26 insertions(+)
|
|
create mode 100644 etc/systemd/iscsiuio.service
|
|
create mode 100644 etc/systemd/iscsiuio.socket
|
|
|
|
diff --git a/etc/systemd/iscsiuio.service b/etc/systemd/iscsiuio.service
|
|
new file mode 100644
|
|
index 000000000000..f0410b76b80e
|
|
--- /dev/null
|
|
+++ b/etc/systemd/iscsiuio.service
|
|
@@ -0,0 +1,17 @@
|
|
+[Unit]
|
|
+Description=iSCSI UserSpace I/O driver
|
|
+Documentation=man:iscsiuio(8)
|
|
+DefaultDependencies=no
|
|
+Conflicts=shutdown.target
|
|
+Requires=iscsid.service
|
|
+BindTo=iscsid.service
|
|
+After=network.target
|
|
+Before=remote-fs-pre.target iscsid.service
|
|
+
|
|
+[Service]
|
|
+Type=forking
|
|
+PIDFile=/var/run/iscsiuio.pid
|
|
+ExecStart=/usr/sbin/iscsiuio
|
|
+
|
|
+[Install]
|
|
+WantedBy=multi-user.target
|
|
diff --git a/etc/systemd/iscsiuio.socket b/etc/systemd/iscsiuio.socket
|
|
new file mode 100644
|
|
index 000000000000..d42cedc161a3
|
|
--- /dev/null
|
|
+++ b/etc/systemd/iscsiuio.socket
|
|
@@ -0,0 +1,9 @@
|
|
+[Unit]
|
|
+Description=Open-iSCSI iscsiuio Socket
|
|
+Documentation=man:iscsiuio(8)
|
|
+
|
|
+[Socket]
|
|
+ListenStream=@ISCSID_UIP_ABSTRACT_NAMESPACE
|
|
+
|
|
+[Install]
|
|
+WantedBy=sockets.target
|
|
--
|
|
2.14.4
|
|
|