clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 7134f0d was 7f65c0e, checked in by Jim Gifford <clfs@…>, 19 years ago |
r625@server (orig r623): jim | 2005-10-31 12:43:24 -0800
Final Move
|
-
Property mode
set to
100644
|
File size:
721 bytes
|
Rev | Line | |
---|
[617118d] | 1 | Submitted By: Tyler Berry (loki at arete dot cc)
|
---|
| 2 | Date: 2003-11-19
|
---|
| 3 | Initial Package Version: 1.4.1
|
---|
| 4 | Origin: http://www.geocrawler.com/mail/msg.php3?msg_id=6612801&list=709
|
---|
| 5 | Description: Fixes problems starting/restarting syslogd.
|
---|
| 6 |
|
---|
| 7 | diff -Naur sysklogd-1.4.1.orig/syslogd.c sysklogd-1.4.1/syslogd.c
|
---|
| 8 | --- sysklogd-1.4.1.orig/syslogd.c 2001-03-11 19:40:10.000000000 +0000
|
---|
| 9 | +++ sysklogd-1.4.1/syslogd.c 2003-11-19 16:03:11.376442834 +0000
|
---|
| 10 | @@ -890,11 +890,11 @@
|
---|
| 11 | dprintf("Checking pidfile.\n");
|
---|
| 12 | if (!check_pid(PidFile))
|
---|
| 13 | {
|
---|
| 14 | + signal (SIGTERM, doexit);
|
---|
| 15 | if (fork()) {
|
---|
| 16 | /*
|
---|
| 17 | * Parent process
|
---|
| 18 | */
|
---|
| 19 | - signal (SIGTERM, doexit);
|
---|
| 20 | sleep(300);
|
---|
| 21 | /*
|
---|
| 22 | * Not reached unless something major went wrong. 5
|
---|
Note:
See
TracBrowser
for help on using the repository browser.