Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=586b7a954bebb3020ef424390e47382b61b405ab
commit 586b7a954bebb3020ef424390e47382b61b405ab Author: crazy <[email protected]> Date: Sat Oct 31 07:45:32 2015 +0100 tgt-1.0.19-3-x86_64 - removed diff --git a/source/network-extra/tgt/FrugalBuild b/source/network-extra/tgt/FrugalBuild deleted file mode 100644 index 2ea5755..0000000 --- a/source/network-extra/tgt/FrugalBuild +++ /dev/null @@ -1,29 +0,0 @@ -# Compiling Time: 0.03 SBU -# Maintainer: Miklos Vajna <[email protected]> - -pkgname=tgt -pkgver=1.0.19 -pkgrel=3 -pkgdesc="Linux SCSI target framework (software iSCSI target)" -_F_sourceforge_dirname="stgt" -Finclude sourceforge -depends=('perl-config-general') -groups=('network-extra') -archs=('i686' 'x86_64') -up2date="Flasttar http://stgt.sourceforge.net/releases/" -backup=(etc/tgt/targets.conf) -source=(http://stgt.sourceforge.net/releases/$pkgname-$pkgver.tar.gz tgtd.service) -sha1sums=('4bb5488c72b5367201b96a86702373e3c298a419' \ - '5ed8c40f14e2a39ba55c2292305e974fa8d9ce39') -_F_systemd_units=(tgtd=) -Finclude systemd - -build() -{ - Fsed 'README.ibmvstgt ' '' doc/Makefile # that file is missing - Fbuild - Ffile /lib/systemd/system/tgtd.service - Fgenscriptlet -} - -# optimization OK diff --git a/source/network-extra/tgt/tgtd.service b/source/network-extra/tgt/tgtd.service deleted file mode 100644 index 4d41ebc..0000000 --- a/source/network-extra/tgt/tgtd.service +++ /dev/null @@ -1,29 +0,0 @@ -[Unit] -Description=tgtd iSCSI target daemon -After=network.target - -[Service] -ExecStart=/usr/sbin/tgtd -f -# Put tgtd into "offline" state until all the targets are configured. -# We don't want initiators to (re)connect and fail the connection -# if it's not ready. -ExecStartPost=/usr/sbin/tgtadm --op update --mode sys --name State -v offline -# Configure the targets. -ExecStartPost=/usr/sbin/tgt-admin -e -c /etc/tgt/targets.conf -# Put tgtd into "ready" state. -ExecStartPost=/usr/sbin/tgtadm --op update --mode sys --name State -v ready - -# Update configuration for targets. Only targets which -# are not in use will be updated. -ExecReload=/usr/bin/tgt-admin --update ALL -c /etc/tgt/targets.conf - -# NOTE: Shutdown of the iscsi target may cause data corruption -# for initiators that are connected. -ExecStop=/usr/sbin/tgtadm --op update --mode sys --name State -v offline -# Remove all targets. It only removes targets which are not in use. -ExecStop=/usr/sbin/tgt-admin --update ALL -c /dev/null -# tgtd will exit if all targets were removed -ExecStop=/usr/sbin/tgtadm --op delete --mode system - -[Install] -WantedBy=multi-user.target _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
