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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since b86c99e 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
  • 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.