diff options
author | Fabio Erculiani <lxnay@gentoo.org> | 2010-07-28 14:15:12 +0000 |
---|---|---|
committer | Fabio Erculiani <lxnay@gentoo.org> | 2010-07-28 14:15:12 +0000 |
commit | 2c9974012de5eea2b5827f0ae1dec78518072ab3 (patch) | |
tree | 6739ff78b5a31cc8b38ff7f982edb169f5f121e0 /net-nds/389-ds-base | |
parent | Use dev-python/nose to run tests thanks to arfrever. (diff) | |
download | historical-2c9974012de5eea2b5827f0ae1dec78518072ab3.tar.gz historical-2c9974012de5eea2b5827f0ae1dec78518072ab3.tar.bz2 historical-2c9974012de5eea2b5827f0ae1dec78518072ab3.zip |
fix start/stop scripts
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'net-nds/389-ds-base')
-rw-r--r-- | net-nds/389-ds-base/ChangeLog | 6 | ||||
-rw-r--r-- | net-nds/389-ds-base/Manifest | 6 | ||||
-rw-r--r-- | net-nds/389-ds-base/files/restart-dirsrv | 3 | ||||
-rw-r--r-- | net-nds/389-ds-base/files/start-dirsrv | 3 |
4 files changed, 12 insertions, 6 deletions
diff --git a/net-nds/389-ds-base/ChangeLog b/net-nds/389-ds-base/ChangeLog index 19a8e964135f..d775c5aac9a4 100644 --- a/net-nds/389-ds-base/ChangeLog +++ b/net-nds/389-ds-base/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-nds/389-ds-base # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-nds/389-ds-base/ChangeLog,v 1.5 2010/07/28 13:57:00 lxnay Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nds/389-ds-base/ChangeLog,v 1.6 2010/07/28 14:15:11 lxnay Exp $ + + 28 Jul 2010; Fabio Erculiani <lxnay@gentoo.org> files/restart-dirsrv, + files/start-dirsrv: + fix start/stop scripts *389-ds-base-1.2.6_rc3-r1 (28 Jul 2010) *389-ds-base-1.2.5-r1 (28 Jul 2010) diff --git a/net-nds/389-ds-base/Manifest b/net-nds/389-ds-base/Manifest index 11a3c0ca4ab9..b8997d8b10a1 100644 --- a/net-nds/389-ds-base/Manifest +++ b/net-nds/389-ds-base/Manifest @@ -3,11 +3,11 @@ AUX 1.2.6/selinux_gentoo.patch 410 RMD160 28cf3a3ecf9de2216af7f8b6b1da5b8420e78c AUX 1.2.6/selinux_makefile.patch 448 RMD160 a51d3a8fc81e4580984dd6e8ec89dcf5f9a8f66d SHA1 96f71c778609dcb1b8cde91757f55d3766f9d3d7 SHA256 ee4251bd1753696df385175a457c90a6e06f88eea8465e98a681d85b10bb81bc AUX 389-ds-snmp.initd 1076 RMD160 7a3be7745e7e7a6de675b40b56556bfacef76a9a SHA1 8d8cbaa5c288d7d2a4ec25a2d85b406336c37073 SHA256 0dccceef42e29b5f696fc241cccdb3641eca3d8e300aef13b13ba1a40f8382e1 AUX 389-ds.initd 1872 RMD160 807455864decce2bc832072d2d4daf034fe22e7a SHA1 ba6f806e23e3c71ad84241e4ef66af1e79241340 SHA256 018d392bcd8ba363ce2ee3b02c81a02b90fed10599d24dab5327d864518a79be -AUX restart-dirsrv 577 RMD160 438df6a53eb0253a25371265ccb85662d0df408b SHA1 2ae8467499b821db040906fd80fe891a8ecefebe SHA256 40b4a28517a2c77ded2d71183a35e6bbf22eec24860282a08ef0033220bf9a98 -AUX start-dirsrv 299 RMD160 d09bf782fb2e926c36c380fb68b21677a88e27fc SHA1 a1337b080d1498a6ecf86fd602cfc9f5c4a18702 SHA256 38c03319a1fc44255e0a658a30a009b577e012fb67626b9c4fc497df8b98aeff +AUX restart-dirsrv 581 RMD160 8812d099f1da6bcbefc0d09fe719f340f3c6d534 SHA1 0db36dd8f0379f1cd4bcc10da4f6cfe6dc37eacd SHA256 fd0dfbce5d74b065fc1bef6e11527d56c7fc4f16ae55383841c05d35d03173b2 +AUX start-dirsrv 303 RMD160 92d3d03931614f9a85345feec5a070c7a664996f SHA1 b2b92fc7d6aaec16d9ed31ff4fb5a596f9ce32f7 SHA256 d29272f92d2c4420da8aad7919861ab667c8f224bde560491f1626957418d361 DIST 389-ds-base-1.2.5.tar.bz2 2791116 RMD160 7bc4af77a66f19f1ee5ea2dfe6678e0d4b09993f SHA1 40340cdf1d1816c5a6b97acfb770c1f5ad6f7f4a SHA256 564fa7fb368d6b0dacd9b237aa515a48f57ae7395f191ba17867a5506cdc0a43 DIST 389-ds-base-1.2.6.rc3.tar.bz2 2867964 RMD160 9d69aa27c8cd762eb3f483e6b10faa8c70239ae7 SHA1 9a13db5b890514172a0283d4225eea62ef20c5e3 SHA256 4aff1db07b111a2e650b25e48835a927b2e46d78c233f06ea8854a35f4979330 EBUILD 389-ds-base-1.2.5-r1.ebuild 5325 RMD160 cd8114937e78dd6dfdffded8232b97ca0499e192 SHA1 d9a9b6cf2a66f3bdfd5b3c0141b95c2c3d6def46 SHA256 c9366b7fe94b548fa0025bb925b472c6e80cc346ac5e89c1c656c59eb945b1a1 EBUILD 389-ds-base-1.2.6_rc3-r1.ebuild 5328 RMD160 177fa26e999f40dc21e4ce9fcdd21446b10d2cee SHA1 4ea571e48c339a955b04132e74714bc732467ca9 SHA256 fc23c68f3359177f7b18283b6bb82e4f1700d74ed3d3317319670e9e8075b4b8 -MISC ChangeLog 1396 RMD160 1e2d36d95780fe0af8e4c9d8b02a516b1177b01e SHA1 23c80d8651ec1d652cbe1336d4e0e8cf21eb61d7 SHA256 f807ab126a67a540e88acad317026882b6a2e4f8a8db2e36a4d6e64d36f924cc +MISC ChangeLog 1516 RMD160 4c0b26e01dc26b4ace31f72dd6f295ec81cac3d7 SHA1 5a0051f86c078eedda806688e363a52d8de189d3 SHA256 09999dd0f0e54c41a1de5ff70e91ab9d22fa17d0e5399a603fe2b9528fdc20cb MISC metadata.xml 1070 RMD160 f31a4089eb70f9228378f1fb6dd69ae2942bc9a3 SHA1 5b58beab1b9e2a63c7378bdf9836683a888600de SHA256 b7bd4cba6afb6af7418c4c6467ef998cdcd381765de671462f15872d29fa4066 diff --git a/net-nds/389-ds-base/files/restart-dirsrv b/net-nds/389-ds-base/files/restart-dirsrv index b4d57467b29e..90654eca170a 100644 --- a/net-nds/389-ds-base/files/restart-dirsrv +++ b/net-nds/389-ds-base/files/restart-dirsrv @@ -8,7 +8,8 @@ # 3: Server could not be stopped sleep_time=8 -running=$(/etc/init.d/389-ds status &> /dev/null) +/etc/init.d/389-ds status &> /dev/null +running="${?}" rc-config stop 389-ds if [ "${?}" = "1" ]; then diff --git a/net-nds/389-ds-base/files/start-dirsrv b/net-nds/389-ds-base/files/start-dirsrv index 4d904b499dbd..45c2a6c2c7d4 100644 --- a/net-nds/389-ds-base/files/start-dirsrv +++ b/net-nds/389-ds-base/files/start-dirsrv @@ -7,7 +7,8 @@ # 2: Server already running rc-config stop 389-ds -rc=$(rc-config start 389-ds) +rc-config start 389-ds +rc="${?}" # give the daemon a chance to start sleep 8 exit "${rc:-1}" |