Post Reply 
Feature Request: Re-Scan/inotify
26-04-2012, 17:44
Post: #11
RE: Feature Request: Re-Scan/inotify
(26-04-2012 17:00)simoncn Wrote:  
(26-04-2012 16:29)KoS Wrote:  hmm.. haven't realized the problem with the SIGHUP when exiting from a shell. you could use instead another signal for the restart of the daemon, e.g. SIGUSR1 or SIGUSR2 ?
That's a good idea, though I'd need to be careful not to confict with the use of these signals for other purposes, such as controlling LinuxThreads. I think the best approach would be to make the choice of 'reload' signal configurable, so that people could choose a signal that doesn't conflict with other usage in their environment.
as far as i know the SIGUSR1 and SIGUSR2 kill signals are explicitly for custom use of an application and no-one should expect anything specific happening when using this signals. so its up to the application to define the usage.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread

Forum Jump:


User(s) browsing this thread: 1 Guest(s)