Subject: [alpine-devel] [PATCH] main/smokeping: Specify which config-file to use for smokeping.

From: Mika Havela <[email-masked]>
Date: Wed, 21 Nov 2012 10:56:44 +0000

Without specifying which config to use, smokeping will try finding a non-existing config and will fail.
---
 main/smokeping/APKBUILD        | 4 ++--
 main/smokeping/smokeping.initd | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/main/smokeping/APKBUILD b/main/smokeping/APKBUILD
index 22c465a..b5a07fb 100644
--- a/main/smokeping/APKBUILD
+++ b/main/smokeping/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=smokeping
 pkgver=2.6.1
-pkgrel=6
+pkgrel=7
 pkgdesc="Smokeping network latency monitoring"
 pkgusers="smokeping"
 pkggroups="smokeping"
@@ -129,7 +129,7 @@ package() {
 }
 
 md5sums="f4a5437b71e02f982f08bf318bb9857d  smokeping-2.6.1.tar.gz
-a63b42b8165f9c728706ac112658548b  smokeping.initd
+9a0e1ac263f323d986e83add76be059d  smokeping.initd
 b3f3c968c582adb9e4e0fdcc9c7163e9  0001-fix-sysconfdir-in-etc.patch
 2bdafaade171bfb2241d1e6450fb094a  0002-fix-sysconfdir-in-doc.patch
 1942e4eceecb80b4bbe4cfc95e3e642f  0003-fix-sysconfdir-in-lib.patch
diff --git a/main/smokeping/smokeping.initd b/main/smokeping/smokeping.initd
index 159e549..3a0f83c 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 $?
 }
 
-- 
1.7.12.3

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---