Current time: 11-06-2024, 02:27 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
patch for gentoo /etc/init.d/ispcp_daemon
Author Message
none Offline
Newbie
*

Posts: 6
Joined: Dec 2008
Reputation: 0
Post: #1
patch for gentoo /etc/init.d/ispcp_daemon
The PID ist not generated correctly using this patch solves the problem:

Code:
--- configs/gentoo/init.d/ispcp_daemon.orig     2009-11-13 03:31:21.816623465 +0100
+++ configs/gentoo/init.d/ispcp_daemon  2009-11-13 03:29:37.476915642 +0100
@@ -41,7 +41,9 @@ depend() {

start() {
     ebegin "Starting $SVCNAME"
-    start-stop-daemon --start --exec $DAEMON --pidfile $PID
+    start-stop-daemon --start --exec $DAEMON --make-pidfile --pidfile $PID
+    sleep 1
+    /bin/pidof ispcp_daemon > $PID
     eend $?
}

I tried to create a account in the bugtracker but I was asked for a htaccess user/pw so I posted it here.
11-22-2009 06:02 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)