source: patches/sysklogd-1.4.1-signal-1.patch @ 617118d

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 617118d was 617118d, checked in by Jim Gifford <clfs@…>, 18 years ago

r561@server (orig r559): root | 2005-06-05 02:38:49 -0700
Fixed Directory Structure

  • Property mode set to 100644
File size: 721 bytes
  • sysklogd-1.4.1

    Submitted By: Tyler Berry (loki at arete dot cc)
    Date: 2003-11-19
    Initial Package Version: 1.4.1
    Origin: http://www.geocrawler.com/mail/msg.php3?msg_id=6612801&list=709
    Description: Fixes problems starting/restarting syslogd.
     
    diff -Naur sysklogd-1.4.1.orig/syslogd.c sysklogd-1.4.1/syslogd.c
    old new  
    890890                dprintf("Checking pidfile.\n");
    891891                if (!check_pid(PidFile))
    892892                {
     893                        signal (SIGTERM, doexit);
    893894                        if (fork()) {
    894895                                /*
    895896                                 * Parent process
    896897                                 */
    897                                 signal (SIGTERM, doexit);
    898898                                sleep(300);
    899899                                /*
    900900                                 * Not reached unless something major went wrong.  5
Note: See TracBrowser for help on using the repository browser.