File: ps_binary

package info (click to toggle)
ps-watcher 1.08-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 772 kB
  • sloc: sh: 2,907; perl: 1,281; makefile: 104
file content (15 lines) | stat: -rw-r--r-- 798 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
From: Jan Wagner <waja@cyconet.org>
Subject: Patch path of ps, so we don't need to have the binary installed on compiletime
Index: ps-watcher-1.08/ps-watcher.in.in
===================================================================
--- ps-watcher-1.08.orig/ps-watcher.in.in	2012-03-28 08:37:45.000000000 +0200
+++ ps-watcher-1.08/ps-watcher.in.in	2012-03-28 08:38:13.000000000 +0200
@@ -339,7 +339,7 @@
   $opts{syslog}       = 1;  # Log errors to syslog
   $opts{logfile}      = $DEVNULL;  
   $opts{daemon}       = 1;  # Run as daemon;
-  $opts{ps_prog}      = '@PS@';   # Where is ps? 
+  $opts{ps_prog}      = '/bin/ps';   # Where is ps? 
   $opts{ps_pid_opts}  = '@PS_PID_OPTS@';   # How do I get pids and commands?
 
   $ps_arg_opts  = '@PS_ARGS@';       # How do I get full process command?