diff options
Diffstat (limited to 'abs/extra-testing/mediaserv/mediaserv.no_daemon.patch')
-rw-r--r-- | abs/extra-testing/mediaserv/mediaserv.no_daemon.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/abs/extra-testing/mediaserv/mediaserv.no_daemon.patch b/abs/extra-testing/mediaserv/mediaserv.no_daemon.patch new file mode 100644 index 0000000..b659354 --- /dev/null +++ b/abs/extra-testing/mediaserv/mediaserv.no_daemon.patch @@ -0,0 +1,17 @@ +--- mediaserv/mediaserv.orig 2009-06-15 03:16:53.000000000 +0000 ++++ mediaserv/mediaserv 2009-06-15 03:17:29.000000000 +0000 +@@ -608,10 +608,10 @@ + # daemonize - daemonize the parent/control app + # + sub daemonize { +- my $pid = fork; # Fork off the main process +- defined ($pid) or die "Cannot start daemon: $!"; +- print "Parent daemon running.\n" if $pid; # If we have a PID, the parent daemonized okay +- exit if $pid; # Return control to the user ++# my $pid = fork; # Fork off the main process ++# defined ($pid) or die "Cannot start daemon: $!"; ++ print "Parent daemon running.\n" ; # If we have a PID, the parent daemonized okay ++# exit if $pid; # Return control to the user + + # Now we're a daemonized parent process! + |