source: patches/sysklogd-1.4.1-signal-1.patch@ 236a72e

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 236a72e was 617118d, checked in by Jim Gifford <clfs@…>, 19 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.