diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2005-06-05 18:22:26 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2005-06-05 18:22:26 +0000 |
commit | 40765b8a022abb87566e53f11ee455051770659c (patch) | |
tree | 812a5047f9882875d10fe8be3a58226143680f8f /mail/exilog/files/patch-exilog_agent.pl | |
parent | - Update to 1.3.3 (diff) |
Exilog is very nice utility to parse and visualize logs from multiply exim
servers.
PR: ports/81899
Submitted by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Notes
Notes:
svn path=/head/; revision=136846
Diffstat (limited to 'mail/exilog/files/patch-exilog_agent.pl')
-rw-r--r-- | mail/exilog/files/patch-exilog_agent.pl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mail/exilog/files/patch-exilog_agent.pl b/mail/exilog/files/patch-exilog_agent.pl new file mode 100644 index 000000000000..4a970498a1a5 --- /dev/null +++ b/mail/exilog/files/patch-exilog_agent.pl @@ -0,0 +1,15 @@ +--- exilog_agent.pl.orig Sat Jun 4 19:36:03 2005 ++++ exilog_agent.pl Sat Jun 4 19:39:00 2005 +@@ -46,7 +46,11 @@ + }; + + setsid(); +- ++ my $me = "exilog"; ++ my $pidfile = "/var/run/".$me.".pid"; ++ open (PID,">$pidfile"); ++ print PID $$; ++ close (PID); + # dup STDOUT/ERR + open(STDOUT, ">&LOG"); + open(STDERR, ">&LOG"); |