source: scripts/patches/sysklogd-1.4.1-signal-1.patch @ a7d67ca

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since a7d67ca was 7f65c0e, checked in by Jim Gifford <clfs@…>, 18 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
  • 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.