diff options
author | Benda Xu <heroxbd@gentoo.org> | 2016-08-13 16:27:45 +0900 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2016-08-13 16:29:04 +0900 |
commit | 0fa0a7c33eabedbcd6c79622746974b3d919f3b7 (patch) | |
tree | f22be2e5344b12ae188fb6729c5bff00aac7ec0a /sys-cluster/slurm/files | |
parent | net-misc/quagga: revision bump (diff) | |
download | gentoo-0fa0a7c33eabedbcd6c79622746974b3d919f3b7.tar.gz gentoo-0fa0a7c33eabedbcd6c79622746974b3d919f3b7.tar.bz2 gentoo-0fa0a7c33eabedbcd6c79622746974b3d919f3b7.zip |
sys-cluster/slurm: Prefix support and QA improvements.
OpenRC drops 'net', it is removed from initd files.
Bug: 590104
Package-Manager: portage-2.3.0
Diffstat (limited to 'sys-cluster/slurm/files')
-rw-r--r-- | sys-cluster/slurm/files/slurmctld.initd | 4 | ||||
-rw-r--r-- | sys-cluster/slurm/files/slurmd.initd | 4 | ||||
-rw-r--r-- | sys-cluster/slurm/files/slurmdbd.initd | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/sys-cluster/slurm/files/slurmctld.initd b/sys-cluster/slurm/files/slurmctld.initd index 840d616096bb..cea032d52355 100644 --- a/sys-cluster/slurm/files/slurmctld.initd +++ b/sys-cluster/slurm/files/slurmctld.initd @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -8,7 +8,7 @@ extra_commands="reload" [[ -f /etc/conf.d/slurm ]] && . /etc/conf.d/slurm depend() { - local _need="net" + local _need [[ ${SLURM_USE_MUNGE} -ne 0 ]] && _need="${_need} munged" [[ ${SLURM_USE_YPBIND} -ne 0 ]] && _need="${_need} ypbind" after logger slurmdbd diff --git a/sys-cluster/slurm/files/slurmd.initd b/sys-cluster/slurm/files/slurmd.initd index 8b13af3939ea..36529432415b 100644 --- a/sys-cluster/slurm/files/slurmd.initd +++ b/sys-cluster/slurm/files/slurmd.initd @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -8,7 +8,7 @@ extra_commands="reload" [[ -f /etc/conf.d/slurm ]] && . /etc/conf.d/slurm depend() { - local _need="net" + local _need [[ ${SLURM_USE_MUNGE} -ne 0 ]] && _need="${_need} munged" [[ ${SLURM_USE_YPBIND} -ne 0 ]] && _need="${_need} ypbind" after logger diff --git a/sys-cluster/slurm/files/slurmdbd.initd b/sys-cluster/slurm/files/slurmdbd.initd index c8548b663e8d..054316fdbe0b 100644 --- a/sys-cluster/slurm/files/slurmdbd.initd +++ b/sys-cluster/slurm/files/slurmdbd.initd @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -8,9 +8,9 @@ extra_commands="reload" [[ -f /etc/conf.d/slurm ]] && . /etc/conf.d/slurm depend() { - local _need="net" + local _need [[ ${SLURM_USE_MUNGE} -ne 0 ]] && _need="${_need} munged" - [[ ${SLURM_USE_YPBIND} -ne 0 ]] && _need="${_need} ypbind" + [[ ${SLURM_USE_YPBIND} -ne 0 ]] && _need="${_need} ypbind" after logger need ${_need} } |