- update to 1.0.85:
* remove duplicate includes * Fix blank documentation line in service file OBS-URL: https://build.opensuse.org/package/show/Base:System/tgt?expand=0&rev=57
This commit is contained in:
parent
8728fa6274
commit
94dd81accd
@ -5,44 +5,18 @@ Subject: [PATCH] tgt: systemd service update
|
||||
Update our systemd service file to match what we do at SUSE.
|
||||
|
||||
---
|
||||
--- a/scripts/tgtd.service
|
||||
+++ b/scripts/tgtd.service
|
||||
@@ -1,11 +1,7 @@
|
||||
[Unit]
|
||||
Description=iSCSI target framework daemon
|
||||
-Documentation=man: tgtd(8)
|
||||
+Documentation=man:tgtd(8)
|
||||
After=network.target
|
||||
-
|
||||
-# On systems without virtual consoles, don't start any getty. Note
|
||||
-# that serial gettys are covered by serial-getty@.service, not this
|
||||
-# unit.
|
||||
ConditionPathExists=/etc/tgt/targets.conf
|
||||
|
||||
[Service]
|
||||
@@ -18,10 +14,14 @@ ProtectKernelTunables=true
|
||||
ProtectKernelLogs=true
|
||||
RestrictRealtime=true
|
||||
Index: tgt-1.0.85/scripts/tgtd.service
|
||||
===================================================================
|
||||
--- tgt-1.0.85.orig/scripts/tgtd.service
|
||||
+++ tgt-1.0.85/scripts/tgtd.service
|
||||
@@ -20,8 +20,9 @@ RestrictRealtime=true
|
||||
# end of automatic additions
|
||||
-Type=forking
|
||||
+
|
||||
Type=forking
|
||||
Environment=TGTD_CONFIG=/etc/tgt/targets.conf
|
||||
+EnvironmentFile=-/etc/sysconfig/tgt
|
||||
+
|
||||
+Type=forking
|
||||
+
|
||||
+ExecStart=/usr/sbin/tgtd $TGTD_OPTS
|
||||
|
||||
-ExecStart=/usr/sbin/tgtd
|
||||
+ExecStart=/usr/sbin/tgtd $TGTD_OPTS
|
||||
ExecStartPost=/usr/sbin/tgtadm --op update --mode sys --name State -v offline
|
||||
ExecStartPost=/usr/sbin/tgtadm --op update --mode sys --name State -v ready
|
||||
ExecStartPost=/usr/sbin/tgt-admin -e -c ${TGTD_CONFIG}
|
||||
@@ -33,8 +33,6 @@ ExecStop=/usr/sbin/tgt-admin --offline A
|
||||
ExecStop=/usr/sbin/tgt-admin --update ALL -c /dev/null -f
|
||||
ExecStop=/usr/sbin/tgtadm --op delete --mode system
|
||||
|
||||
-# Exit code: 107 tgtd not running
|
||||
-
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 2 13:28:45 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.0.85:
|
||||
* remove duplicate includes
|
||||
* Fix blank documentation line in service file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 23 20:01:34 UTC 2022 - Lee Duncan <lduncan@suse.com>
|
||||
|
||||
|
2
tgt.spec
2
tgt.spec
@ -25,7 +25,7 @@
|
||||
%define make_build %{__make} %{?_smp_mflags}
|
||||
%endif
|
||||
Name: tgt
|
||||
Version: 1.0.84
|
||||
Version: 1.0.85
|
||||
Release: 0
|
||||
Summary: Generic Linux target framework (tgt)
|
||||
License: GPL-2.0-only
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c5f5913fd5c4a1333590ad3ddcf80dd12592a5f773f3609619513dd583772486
|
||||
size 304641
|
3
v1.0.85.tar.gz
Normal file
3
v1.0.85.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b8454e06eaf6f024c1fa39de976c167c1ba7f43535bea96c3c364bd138552d8c
|
||||
size 304648
|
Loading…
Reference in New Issue
Block a user