Skip to content

Commit

Permalink
Added LSB init script descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed Jan 7, 2011
1 parent 4389224 commit 35a810a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions watcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,18 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

### BEGIN INIT INFO
# Provides: watcher.py
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Monitor directories for file changes
# Description: Monitor directories specified in /etc/watcher.ini for
# changes using the Kernel's inotify mechanism and run
# jobs when files or directories change
### END INIT INFO

import sys, os, time, atexit
from signal import SIGTERM
import pyinotify
Expand Down

0 comments on commit 35a810a

Please sign in to comment.