Package: istgt
Version: 0.4~20111008-4
Followup-For: Bug #1039246
User: [email protected]
Usertags: origin-ubuntu stonking ubuntu-patch
Control: tags -1 patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to add a minimal systemd
service.

  * d/istgt.service: add systemd service (LP: #2153870, Closes: #1039246)

Thanks for considering the patch.

-Nick
diff -Nru istgt-0.4~20111008/debian/control istgt-0.4~20111008/debian/control
--- istgt-0.4~20111008/debian/control   2024-03-04 13:16:47.000000000 -0500
+++ istgt-0.4~20111008/debian/control   2026-09-10 13:52:29.000000000 -0400
@@ -1,8 +1,7 @@
 Source: istgt
 Section: admin
 Priority: optional
-Maintainer: Ubuntu Developers <[email protected]>
-XSBC-Original-Maintainer: GNU/kFreeBSD Maintainers 
<[email protected]>
+Maintainer: GNU/kFreeBSD Maintainers <[email protected]>
 Uploaders:
  Arno Töll <[email protected]>,
  Robert Millan <[email protected]>,
diff -Nru istgt-0.4~20111008/debian/istgt.service 
istgt-0.4~20111008/debian/istgt.service
--- istgt-0.4~20111008/debian/istgt.service     1969-12-31 19:00:00.000000000 
-0500
+++ istgt-0.4~20111008/debian/istgt.service     2026-09-10 13:52:29.000000000 
-0400
@@ -0,0 +1,12 @@
+[Unit]
+Description=istgt iSCSI target
+After=remote-fs.target local-fs.target network.target
+ConditionFileNotEmpty=/etc/istgt/istgt.conf
+
+[Service]
+Type=simple
+ExecStart=/usr/sbin/istgt -c /etc/istgt/istgt.conf -D
+ExecReload=/usr/sbin/istgtcontrol refresh
+
+[Install]
+WantedBy=multi-user.target

Reply via email to