Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
target-isns.3375
target-isns-add-systemd-support.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File target-isns-add-systemd-support.patch of Package target-isns.3375
From: Lee Duncan <lduncan@suse.com> Date: Thu Nov 13 14:13:48 PST 2014 Subject: [PATCH]: Add systemd support Add systemd support via a unit service file and provisions for it being installed. Signed-of-by: Lee Duncan <lduncan@suse.com> --- diff -aNurp target-isns-0.3.orig/CMakeLists.txt target-isns-0.3/CMakeLists.txt --- target-isns-0.3.orig/CMakeLists.txt 2014-11-13 11:22:37.919354539 -0800 +++ target-isns-0.3/CMakeLists.txt 2014-11-13 14:08:39.158594033 -0800 @@ -14,6 +14,7 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wal add_subdirectory(src) install(FILES target-isns.conf DESTINATION /etc/) install(FILES target-isns.8 DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man8/) +install(FILES target-isns.service DESTINATION /usr/lib/systemd/system/) set(ARCHIVE_NAME ${CMAKE_PROJECT_NAME}-${PROJECT_VERSION}) add_custom_target(dist diff -aNurp target-isns-0.3.orig/target-isns.service target-isns-0.3/target-isns.service --- target-isns-0.3.orig/target-isns.service 1969-12-31 16:00:00.000000000 -0800 +++ target-isns-0.3/target-isns.service 2014-11-13 13:59:50.703342130 -0800 @@ -0,0 +1,13 @@ +[Unit] +Description=iSNS client service for targetcli targets +Documentation=man:target-isns(8) +After=network.target network-online.target targetcli.service +Requires=target.service +BindsTo=target.service + +[Service] +Type=simple +ExecStart=/usr/bin/target-isns -f + +[Install] +WantedBy=remote-fs.target
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