]> Pileus Git - ~andy/sunrise/blob - media-sound/davemp/files/davemp-1.23-run-in-foreground.diff
media-sound/davemp: Cleanup, fixes and new init.d script. Changing LICENSE to match...
[~andy/sunrise] / media-sound / davemp / files / davemp-1.23-run-in-foreground.diff
1 Disable background davemp to simplify killing it with start-stop-daemon.
2 It is just simpler than implementing pidfile support.
3
4 diff -dupr davemp-1.23.orig/davempd.pl davemp-1.23/davempd.pl
5 --- davemp-1.23.orig/davempd.pl 2010-01-28 19:49:52.423815302 +0100
6 +++ davemp-1.23/davempd.pl      2010-01-28 19:51:44.745814314 +0100
7 @@ -63,6 +63,6 @@
8      $server->port('4691');
9  }
10  print "Server started on port " . $server->port . "\n";
11 -$server->background;
12 +$server->run;
13  
14  exit 0;