I'm using daemontools to invoke arpon so I can't use -d. Daemontools has their own logging, with log rotation and such which it picks up from stdout. But when I do that I still get a log in /usr/local/etc. I'm running v2.6 but I've seen rumors of a version with a -f command-line arg, I think in Debian webpages.
Can someone incorporate those changes back to SourceForge?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think u need to run it as daemon.
This is how i applied patch
--- a/src/config.h.in
+++ b/src/config.h.in
@@ -49,12 +49,12 @@
/*
*/
-#define LOG_FILE "@ARPON_LOG@"
+#define LOG_FILE "/opt/logs/arpon.log"
/*
*/
-#define PID_FILE "@ARPON_PID@"
+#define PID_FILE "/tmp/arpon.pid"
to avoid default logging
Last edit: prakash ks 2020-03-17
I solved it by directly starting the binary with the parameters like a daemon:
Thanks for your help and congratulations. Excellent project
Hi,
exactly! Please use the daemon mode.
Thanks
I'm using daemontools to invoke arpon so I can't use -d. Daemontools has their own logging, with log rotation and such which it picks up from stdout. But when I do that I still get a log in /usr/local/etc. I'm running v2.6 but I've seen rumors of a version with a -f command-line arg, I think in Debian webpages.
Can someone incorporate those changes back to SourceForge?