home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.ubuntu      I preferred Xubuntu, seemed a bit faster      134,474 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 134,361 of 134,474   
   Mike Scott to Theo   
   Re: daemon program?   
   10 Sep 25 12:25:32   
   
   XPost: uk.comp.os.linux   
   From: usenet.16@scottsonline.org.uk.invalid   
      
   On 10/09/2025 11:08, Theo wrote:   
   > It sounds like the problem is that 'daemon' is never closing the output   
   > file, so 'logrotate' is never able to process it.  The -H flag is supposed   
   > to tell daemon to close the file on SIGHUP so logrotate can swap it out, but   
   > it doesn't exist in the Debian version.   
      
   Absolutely the problem.   
      
   I'm years out of practice with writing C, but it looks a manageable job   
   to add the necessary code. Might take me a while though.   
      
   >   
   > This is the source to the FreeBSD version:   
   > https://github.com/freebsd/freebsd-src/tree/main/usr.sbin/daemon   
   >   
   > - maybe the 'sighup' feature could be merged into the Debian version?   
      
      
   If I can do it, I'll see about getting the changes merged in to the   
   original.   
      
   >   
   > Theo   
      
      
   --   
   Mike Scott   
   Harlow, England   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca