You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.3 KiB
54 lines
1.3 KiB
7 years ago
|
From 822b53e6c9ebb0fe7236ebd3b4c73b009100592d Mon Sep 17 00:00:00 2001
|
||
|
From: Chris Leech <cleech@redhat.com>
|
||
|
Date: Tue, 22 Jan 2013 14:27:12 -0800
|
||
|
Subject: 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 0000000..f0410b7
|
||
|
--- /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 0000000..d42cedc
|
||
|
--- /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
|
||
|
--
|
||
|
1.7.11.7
|
||
|
|