diff options
| author | Leonardo Arena <rnalrd@gmail.com> | 2009-07-31 07:44:14 +0000 |
|---|---|---|
| committer | Leonardo Arena <rnalrd@gmail.com> | 2009-07-31 07:44:14 +0000 |
| commit | 93669b2538b2cdfde3f6c288fba9a88668a7500a (patch) | |
| tree | 7271ed80c6328b5156211a2ac24d3dce1d214b65 /testing | |
| parent | c66164b230fc33d7a903bbd1da6f803c2cadd0e2 (diff) | |
| parent | de25f1da2b2c5f49e7917971b2e324cb0773fa30 (diff) | |
| download | aports-93669b2538b2cdfde3f6c288fba9a88668a7500a.tar.bz2 aports-93669b2538b2cdfde3f6c288fba9a88668a7500a.tar.xz | |
Merge branch 'master' of git://dev.alpinelinux.org/aports
Diffstat (limited to 'testing')
| -rw-r--r-- | testing/asterisk/APKBUILD | 4 | ||||
| -rw-r--r-- | testing/asterisk/asterisk.initd | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/testing/asterisk/APKBUILD b/testing/asterisk/APKBUILD index 209a93d0d..b3f290bd5 100644 --- a/testing/asterisk/APKBUILD +++ b/testing/asterisk/APKBUILD @@ -3,7 +3,7 @@ pkgname=asterisk pkgver=1.6.3.0_pre20090623 _basever=1.6.2.0-beta3 -pkgrel=1 +pkgrel=2 pkgdesc="Asterisk: A Module Open Source PBX System" url="http://www.asterisk.org/" license="GPL" @@ -102,5 +102,5 @@ c37928e95ebef36aad097accfdbbfcb8 asterisk-05-1.6.1-glob-uclibc.patch cc6a11b73f3ba7e98a621540c8e71542 asterisk-07-issue14068.patch b4a97cb1ec3cc3f71a10ce8c067ab430 asterisk.pre-install 62ecffc90b6714b85f377d1fac73c58b asterisk.post-install -bbcd152417bb7c838b25cb6007db91da asterisk.initd +c618b7fdf4a9edf4cde6d8ccd1e32ee6 asterisk.initd ed31d7ba37bcf8b0346dcf8593c395f0 asterisk.confd" diff --git a/testing/asterisk/asterisk.initd b/testing/asterisk/asterisk.initd index dc69aacf4..864a96b3c 100644 --- a/testing/asterisk/asterisk.initd +++ b/testing/asterisk/asterisk.initd @@ -2,11 +2,16 @@ opts="${opts} forcestop reload" +depend() { + need net + use nscd dns zaptel mysql postgresql slapd capi +} + is_running() { if [ -z "$(pidof asterisk)" ]; then return 1 else - PID="$(cat /var/run/asterisk/asterisk.pid)" + PID="$(cat /var/run/asterisk/asterisk.pid 2>/dev/null)" for x in $(pidof asterisk); do if [ "${x}" = "${PID}" ]; then return 0 |
