summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/mediaserv/mediaserv.no_daemon.patch
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-06-15 03:29:39 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-06-15 03:29:39 (GMT)
commit0d311999efc8d9c40436985772a799559c218d04 (patch)
tree33f966a49c47a84c63a81bc974c23a4abab93a47 /abs/extra-testing/mediaserv/mediaserv.no_daemon.patch
parentf27ecfc5aca0f15158b6af7f9c3363d6fa11f421 (diff)
downloadlinhes_pkgbuild-0d311999efc8d9c40436985772a799559c218d04.zip
linhes_pkgbuild-0d311999efc8d9c40436985772a799559c218d04.tar.gz
linhes_pkgbuild-0d311999efc8d9c40436985772a799559c218d04.tar.bz2
mediaserv: add patch stop it from forking.
Diffstat (limited to 'abs/extra-testing/mediaserv/mediaserv.no_daemon.patch')
-rw-r--r--abs/extra-testing/mediaserv/mediaserv.no_daemon.patch17
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!
+