Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:GA
lio-utils
0025-target.service-Add-systemd-service-file.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0025-target.service-Add-systemd-service-file.patch of Package lio-utils
From 453b7d82a2a1787043a6026634321fc05ed09c41 Mon Sep 17 00:00:00 2001 From: Hannes Reinecke <hare@suse.de> Date: Thu, 17 Apr 2014 09:36:02 +0200 Subject: target.service: Add systemd service file Signed-off-by: Hannes Reinecke <hare@suse.de> --- scripts/target.service | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 scripts/target.service diff --git a/scripts/target.service b/scripts/target.service new file mode 100644 index 0000000..212e9a2 --- /dev/null +++ b/scripts/target.service @@ -0,0 +1,19 @@ +[Unit] +Description="Generic Target Mode service" + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart="/etc/target/tcm_start.sh" +ExecStart="/etc/target/lio_start.sh" +ExecStartPost=-"/etc/target/tcm_setup.sh" +ExecStartPost=-"/etc/target/lio_setup.sh" + +ExecStopPre="/usr/sbin/lio_dump --stdout > /etc/target/lio_setup.sh" +ExecStopPre="/usr/sbin/tcm_setup --stdout > /etc/target/tcm_setup.sh" +ExecStop="/usr/sbin/tcm_fabric --unloadall" +ExecStop="/usr/sbin/lio_node --unload" +ExecStopPost="/usr/sbin/tcm_node --unload" + +[Install] +WantedBy=sysinit.target -- 1.8.1.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor