Re: start-stop-daemon on an inotify script

2013-04-09 Thread Andreas Leha
Hi Bob, thanks a lot for stepping in and all your comments on the script and its usage. I did not want to have too much attention on my inotify script, so I stripped it down to something simpler, that still is doing something useful. It seems I failed in the simplification... Bob Proulx writ

Re: start-stop-daemon on an inotify script

2013-04-08 Thread Bob Proulx
Andreas Leha wrote: > No one? > Is there anything, I should add to the question? Since no one else is jumping in... > Consider this stripped down script (placed at > /usr/local/bin/testinotify) around inotifywait: > > #+begin_src sh > #!/bin/bash You haven't used any bash specific features. I

Re: start-stop-daemon on an inotify script

2013-04-08 Thread Andreas Leha
Andreas Leha writes: > Hi all, > > > (cross-post from here: > http://superuser.com/questions/571416/start-stop-daemon-on-an-inotify-scripti) > > > > I am on debian squeeze. > > Consider this stripped down script (placed at > /usr/local/bin/testinotify) around inotifywait: > > #+begin_src sh > #

start-stop-daemon on an inotify script

2013-03-26 Thread Andreas Leha
Hi all, (cross-post from here: http://superuser.com/questions/571416/start-stop-daemon-on-an-inotify-scripti) I am on debian squeeze. Consider this stripped down script (placed at /usr/local/bin/testinotify) around inotifywait: #+begin_src sh #!/bin/bash WATCHDIR="/tmp/testinotify"