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: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. |
|||
30-04-2012, 14:55
Post: #12
|
|||
|
|||
RE: Feature Request: Re-Scan/inotify
i have created the following bash script to automatically restart my minim instance when files are added/deleted/modified:
Code: #!/bin/sh |
|||
30-04-2012, 18:48
Post: #13
|
|||
|
|||
RE: Feature Request: Re-Scan/inotify
Thanks for sharing this!
|
|||
16-07-2012, 11:26
Post: #14
|
|||
|
|||
RE: Feature Request: Re-Scan/inotify
new version of the script:
Code: #!/bin/sh the config file has just one line/variable: Code: watch_dir="/media/upnp" |
|||
23-12-2012, 18:49
Post: #15
|
|||
|
|||
RE: Feature Request: Re-Scan/inotify
Im runnin a synology nas ...
where do i have to put this script so it is working? |
|||
24-12-2012, 10:34
Post: #16
|
|||
|
|||
RE: Feature Request: Re-Scan/inotify
(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. |
|||
24-12-2012, 13:18
Post: #17
|
|||
|
|||
RE: Feature Request: Re-Scan/inotify
This would be really great!
Because otherwise I always have to use my comp to update the database. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)