ports/comms/lcdproc/patches/patch-clients_lcdexec_lcdexec_conf

23 lines
678 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
OpenBSD path and there is no point in logging to stderr if we use
daemon() to daemonise (stderr will get closed).
Index: clients/lcdexec/lcdexec.conf
--- clients/lcdexec/lcdexec.conf.orig
+++ clients/lcdexec/lcdexec.conf
@@ -12,13 +12,13 @@ Port=13666
ReportLevel=2
# report to to syslog ?
-ReportToSyslog=false
+ReportToSyslog=true
# run in foreground [default: false; legal: true, false]
Foreground=false
# PidFile location when running as daemon [default: /var/run/lcdexec.pid]
-#PidFile=/var/run/lcdexec.pid
+PidFile=/var/lcdproc/lcdexec.pid
# shell to use for executing programs
# [default: $SHELL or /bin/sh; legal: any shell that understands: -c COMMAND]