#define PS_PROGRAM "/bin/ps -lp"
#define HAVE_PS_MULTIPLE 0
and change the 3rd line to
#define HAVE_PS_MULTIPLE 1
- Where do keep your lock files ? Some distributions use /var/locks or /var/lock, while others (Slackware for instance) use /var/spool/uucp.
Make sure you change #define LOCKDIR to the correct directory.
(When I say "Slackware uses /var/spool/uucp", I mean that supplied programs like Minicom have been compiled to use this path)
- What sort of lockfile format do you want ? Again, it depends upon your distribution, but don't worry if you get it wrong. Slackware seems to use HDB format.
If you don't change one of the #define HAVE_*_LOCKFILES to 1, it'll default to HDB format for Linux.
- Decide which config file format you want to use. Unless you're familiar with the HDB or V2 config file formats, it's best to use the Taylor format. You can tell it to use any or all of the three formats if you wish.
You will also need to edit the Makefile to tell it where to find the config files. There is a "newconfigdir" variable for Taylor format files (default is $(prefix)/conf/uucp), and an "oldconfigdir" for V2 or HDB format files (default is /usr/lib/uucp).
- What format do you want for the spool directory ? Again, unless you have some sort of attachment to old formats, stick with the Taylor format (it's a bit cleaner).