SwordArMor-gentoo-overlay/net-analyzer/smokeping/files/smokeping-2.7.3-smokeping_cgi-config.patch
Alarig Le Lay 7dceb3bc1a
net-analyzer/smokeping: CGI config and /run init check
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2021-08-09 22:10:04 +02:00

14 lines
337 B
Diff

--- a/bin/smokeping_cgi 2021-08-09 21:48:18.202816587 +0200
+++ b/bin/smokeping_cgi 2021-08-09 21:48:57.489227779 +0200
@@ -17,8 +17,7 @@
use CGI::Fast;
-my $cfg = (shift @ARGV) || "$FindBin::Bin/../etc/config";
-
+my $cfg = (shift @ARGV) || "/etc/smokeping/config";
while (my $q = new CGI::Fast) {
Smokeping::cgi($cfg,$q);