aboutsummaryrefslogtreecommitdiffstats
path: root/main/open-iscsi/iscsid.initd
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-03 17:41:52 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-02-03 17:41:52 +0100
commit28e8f052e8d863d85ff95ed5a4ffe6844d3ba522 (patch)
treec698c1642b7a28bb314daa65bb6767945a130ec6 /main/open-iscsi/iscsid.initd
parentd14bad54462ac16916160b3dc1cb9a3b8fc0c9ea (diff)
downloadaports-28e8f052e8d863d85ff95ed5a4ffe6844d3ba522.tar.bz2
aports-28e8f052e8d863d85ff95ed5a4ffe6844d3ba522.tar.xz
main/open-iscsi: fix path of commands on initd, add -dev and -libs subpkg
fixes #11183
Diffstat (limited to 'main/open-iscsi/iscsid.initd')
-rw-r--r--main/open-iscsi/iscsid.initd4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/open-iscsi/iscsid.initd b/main/open-iscsi/iscsid.initd
index 617af9ac10..c0bea59b7f 100644
--- a/main/open-iscsi/iscsid.initd
+++ b/main/open-iscsi/iscsid.initd
@@ -2,7 +2,7 @@
# Copyright 1999-2015 Gentoo Foundation, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-command="/usr/sbin/iscsid"
+command=/sbin/iscsid
command_args="${OPTS}"
start_stop_daemon_args="-w 100" # iscsid might fail e.g. when the iSCSI kernel modules aren't available
pidfile=${PIDFILE:-/var/run/${SVCNAME}.pid}
@@ -10,7 +10,7 @@ pidfile=${PIDFILE:-/var/run/${SVCNAME}.pid}
extra_started_commands="starttargets stoptargets"
extra_commands="restarttargets"
-ISCSIADM=/usr/sbin/iscsiadm
+ISCSIADM=/sbin/iscsiadm
depend() {
after modules multipath