![]() |
|
Feature Request: Re-Scan/inotify - Printable Version +- MinimServer Forum (https://forum.minimserver.com) +-- Forum: MinimServer (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: Feature Request: Re-Scan/inotify (/showthread.php?tid=41) Pages: 1 2 |
RE: Feature Request: Re-Scan/inotify - KoS - 26-04-2012 17:44 (26-04-2012 17:00)simoncn Wrote: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.(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. RE: Feature Request: Re-Scan/inotify - KoS - 30-04-2012 14:55 i have created the following bash script to automatically restart my minim instance when files are added/deleted/modified: Code: #!/bin/shRE: Feature Request: Re-Scan/inotify - simoncn - 30-04-2012 18:48 Thanks for sharing this! RE: Feature Request: Re-Scan/inotify - KoS - 16-07-2012 11:26 new version of the script: Code: #!/bin/shthe config file has just one line/variable: Code: watch_dir="/media/upnp"RE: Feature Request: Re-Scan/inotify - alegend - 23-12-2012 18:49 Im runnin a synology nas ... where do i have to put this script so it is working? RE: Feature Request: Re-Scan/inotify - winxi - 24-12-2012 10:34 (23-12-2012 18:49)alegend Wrote: Im runnin a synology nas ...Hi, unfortunately, this is not an easy task. A challenge might be to compile and install inotify-tools. I will look into it and maybe make a separate package to automate the necessary steps for Synology DS's. RE: Feature Request: Re-Scan/inotify - alegend - 24-12-2012 13:18 This would be really great! Because otherwise I always have to use my comp to update the database. |