aboutsummaryrefslogtreecommitdiffstats
path: root/main/smokeping
diff options
context:
space:
mode:
authorJeff Bilyk <jbilyk@alpinelinux.org>2014-12-05 13:24:10 -0500
committerJeff Bilyk <jbilyk@alpinelinux.org>2014-12-05 13:24:10 -0500
commitb4f2b13dc08f88551222b19a021b9f0464cc8cbd (patch)
treec6a844b193670c6f40607c8d088195c76107f080 /main/smokeping
parentba5069fb77b18c3dfdb416d1e3458c4ae249e09c (diff)
downloadaports-b4f2b13dc08f88551222b19a021b9f0464cc8cbd.tar.bz2
aports-b4f2b13dc08f88551222b19a021b9f0464cc8cbd.tar.xz
main/smokeping: fix init.d script
Diffstat (limited to 'main/smokeping')
-rw-r--r--main/smokeping/APKBUILD8
-rw-r--r--main/smokeping/smokeping.initd5
2 files changed, 7 insertions, 6 deletions
diff --git a/main/smokeping/APKBUILD b/main/smokeping/APKBUILD
index 3aa4c090bf..9ee65e4f0a 100644
--- a/main/smokeping/APKBUILD
+++ b/main/smokeping/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=smokeping
pkgver=2.6.10
-pkgrel=0
+pkgrel=1
pkgdesc="Smokeping network latency monitoring"
pkgusers="smokeping"
pkggroups="smokeping"
@@ -130,11 +130,11 @@ package() {
}
md5sums="139f0c456088c3527a55d51898885fe4 smokeping-2.6.10.tar.gz
-a63b42b8165f9c728706ac112658548b smokeping.initd
+2fe386f2fb52d85bdf6635942b080dd6 smokeping.initd
5b0bac1be9c63c1f36ff7c2979af4317 musl-lc_numeric-utf8.patch"
sha256sums="0121672951f47bd45575898c3e4d767e22cc692dd272d723b422515fd3cc641c smokeping-2.6.10.tar.gz
-1b83d2e35e922e71bb3c91deee7c247cfbaebe47022451aabde87b790c5a61ca smokeping.initd
+97ac64cdadfb173f4d9422befb0e002d0e67399f3b006c44fd03590e9ffb316e smokeping.initd
5cb6dd9ce63446b5cfc3f1bba9e39fb91a6d18c512e5a7e153bb6007660466dd musl-lc_numeric-utf8.patch"
sha512sums="e91ac80ceafccb945ec48cc80020b8cbf2afe29b5f422dc5aaf7c52387eafc498180c293cf82dccc4fdec88ec56f80fb1bd08ebcb2ae9aea563475a069b91f13 smokeping-2.6.10.tar.gz
-b1d6f769b870a14856f4e4f6e699d6a9eb7744d9c447e5cd799cf21dd1eb83807aaa270029e15a49c709e8a9160c395d264bcc1d3281233160e2a907e61473ad smokeping.initd
+0429e2ea82e2d10fbe84a83ab4ca8ce6bae76dfda4bdc48c3711b699caac2f8dc1420a894ebe9e404b50ee9ce0d704009f88f6f1b37e84efb6ed33564575d993 smokeping.initd
e6bc389d8edbc000f5ad65848308197b3eb1ddb24bfa9df9c05fa027103952484383b7e021bea86795dceccdcf3f3d51a24c22cae3a68dc5afa30a72b2dbf803 musl-lc_numeric-utf8.patch"
diff --git a/main/smokeping/smokeping.initd b/main/smokeping/smokeping.initd
index 159e549487..e7b5106442 100644
--- a/main/smokeping/smokeping.initd
+++ b/main/smokeping/smokeping.initd
@@ -31,7 +31,8 @@ start() {
start-stop-daemon --start --name smokeping \
--pidfile /var/run/smokeping/smokeping.pid \
--exec /usr/bin/smokeping \
- --user smokeping:smokeping
+ --user smokeping:smokeping \
+ -- --config=/etc/smokeping/config
eend $?
}
@@ -44,7 +45,7 @@ stop() {
reload() {
ebegin "Reloading smokeping"
- /usr/bin/smokeping --reload 1>/dev/null 2>&1
+ /usr/bin/smokeping --config=/etc/smokeping/config --reload 1>/dev/null 2>&1
eend $?
}