I see, thanks. I'm looking at the chkircd script and I have two questions if someone wouldn't mind.
First, is there an advantage to using the "test -r" command to see if the pid file exists over merely using the -e switch with if?
Second, in the line:
if `kill -CHLD $ircdpid >/dev/null 2>&1 ...
Search found 2 matches
- Wed Dec 22, 2004 6:54 pm
- Forum: Unreal 3.2 Support
- Topic: Question About ircd.pid
- Replies: 3
- Views: 1805
- Wed Dec 22, 2004 5:41 pm
- Forum: Unreal 3.2 Support
- Topic: Question About ircd.pid
- Replies: 3
- Views: 1805
Question About ircd.pid
In the event of a crash/shutdown, does Unreal remove the ircd.pid file from it's directory, or does it stay until the next start? I'm writing a small shell script to check whether or not the IRCd is running so it would be helpful to know what happens to the file. Thanks. 