Commit 6461c5ed authored by Leonardo Arena's avatar Leonardo Arena
Browse files

main/open-iscsi: fix iscsid options

parent b75c6146
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=open-iscsi
pkgver=2.1.4
pkgrel=0
pkgrel=1
pkgdesc="High performance, transport independent, multi-platform iSCSI initiator"
url="https://www.open-iscsi.com"
arch="all"
......@@ -38,7 +38,7 @@ package() {
}
sha512sums="ae0663a964d86e6a4c19203598b859173c93ecce550f9bc9855ff735dd51a3c45822f2bc1cc99e6891c56ef1d16c42223803f07a961558fe6e38ead2164faef3 open-iscsi-2.1.4.tar.gz
a95bfdb9cc10d154a257fdaecc41d351eeed8b460bbc9c548c0891485de09a0eb98c2ff68cc2db15e6d820ebba33c43f2e72853cdeca359eb15d820a9cdf542d iscsid.initd
52e273d20d3c95c943409d3b6251f0447e19a822d32ff33d3c8dc1e9b8c6065ab72b823fe9cb72f5d92256d3a219417a3847dc59815d29f727fc59c4e49716a8 iscsid.initd
3ba1825ee8b39ce2c58d70b59d6c2d6a954a8c65ce9adf920fb44d046cfe0f7f54bcc70f3f3c24754f0e866abdc92b4a1716fb516c45278b217532b97a6d948a iscsid.confd
4cc7c1923047616d908806aab96d468cb7b99ff9f8a9e02a039866b66db4ae856bd9f414854712d8a57c21614674f4468736bce26a4199c2ff054a165bca26e0 iscsid.conf
1b89ffd6de0dc7bb63fc2702a97e49df4369158c66ee609acfc041b1677c07fbd964b7a709f1f324fa51a9842d4d3e11611d9783e18d526372d468163c0ac8db musl-fixes.patch
......
......@@ -2,20 +2,18 @@
# Copyright 1999-2015 Gentoo Foundation, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
command=/usr/sbin/iscsid
command_args="${OPTS}"
start_stop_daemon_args="-w 100 -i ${INITIATORNAME_FILE}" # iscsid might fail e.g. when the iSCSI kernel modules aren't available
pidfile=${PIDFILE:-/run/${SVCNAME}.pid}
: ${CONFIG_FILE:="/etc/iscsi/iscsid.conf"}
: ${INITIATORNAME_FILE:="/etc/iscsi/initiatorname.iscsi"}
: ${AUTOSTARTTARGETS:="yes"}
ISCSIADM=/usr/sbin/iscsiadm
command=/usr/sbin/iscsid
command_args="-i ${INITIATORNAME_FILE} ${OPTS}"
start_stop_daemon_args="-w 100" # iscsid might fail e.g. when the iSCSI kernel modules aren't available
pidfile=${PIDFILE:-/run/${SVCNAME}.pid}
extra_started_commands="starttargets stoptargets"
extra_commands="restarttargets"
ISCSIADM=/usr/sbin/iscsiadm
depend() {
after modules multipath
use net
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment