diff options
author | John Kohl <jtkohl@mit.edu> | 1989-12-18 08:19:55 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1989-12-18 08:19:55 +0000 |
commit | d5821de9b50c5555d2a6f8d72a9d5ba7f9140bd0 (patch) | |
tree | 1342cfd53daa7927d577e1e66d5f8d457ecf3f8c /zhm/zhm.c | |
parent | fb2617c5708ed2332332e0450818b2d94d091bb9 (diff) |
parameterize pid file
Diffstat (limited to 'zhm/zhm.c')
-rw-r--r-- | zhm/zhm.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -29,6 +29,10 @@ static char rcsid_hm_c[] = "$Id$"; #include <hesiod.h> #endif HESIOD +#ifndef PIDFILE +#define PIDFILE "/etc/athena/zhm.pid" +#endif /* PIDFILE */ + int hmdebug = 0, rebootflag = 0, errflg = 0, dieflag = 0, inetd = 0, oldpid; int no_server = 1, nservchang = 0, nserv = 0, nclt = 0; int booting = 1, timeout_type = 0, deactivated = 1; @@ -42,7 +46,7 @@ int sig_type = 0; struct hostent *hp; char **clust_info; char hostname[MAXHOSTNAMELEN], loopback[4]; -char *PidFile = "/etc/athena/zhm.pid"; +char *PidFile = PIDFILE; extern int errno; extern char *index(), *strcpy(), *sbrk(); |