pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
LPRng-core startup script file wrong pid file
Hi,
I've noticed with LPRng-core the pid file used is lpd.515 not lpd.pid as used
in its rc.d start up script. So here's a patch to fix the problem:
--- files/LPRng.sh.orig 2011-12-10 01:59:28.000000000 +1100
+++ files/LPRng.sh 2011-12-10 01:41:57.000000000 +1100
@@ -10,7 +10,7 @@
name="LPRng"
rcvar=$name
command="@PREFIX@/sbin/lpd"
-pidfile="/var/run/lpd.pid"
+pidfile="/var/run/lpd.515"
required_files="@PKG_SYSCONFDIR@/lpd/lpd.conf"
LPRng_prestart()
Is this okay or should the sources be modified?
Adding --with-lockfile=/var/run/lpd.pid to CONGFIGURE_ARGS did not work it
gave me /var/run/lpd.pid.515.
Regards,
Nat.
Home |
Main Index |
Thread Index |
Old Index