| # | Line 47 | Line 47 | $seq_no = 1; | |
|---|---|---|
| 47 | $retry_wait = 60; | |
| 48 | ||
| 49 | # write our PID to a file | |
| 50 | < | $pidfile = "/var/tmp/ihost.pid"; |
| 50 | > | # use home dir by default |
| 51 | > | $pidfile = $ENV{"HOME"}; |
| 52 | > | # or drop it in /var/tmp if we can't find HOME |
| 53 | > | $pidfile = "/var/tmp" if not defined $pidfile; |
| 54 | > | $pidfile .= "/.ihost.pid"; |
| 55 | &write_pid(); | |
| 56 | ||
| 57 | &tcp_configure(); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |