diff --git a/data/etc/init.d/rattail-filemon_tmpl b/data/etc/init.d/rattail-filemon_tmpl new file mode 100755 index 0000000000000000000000000000000000000000..8c021d448f1babd866f2628420da55ef451d73c8 --- /dev/null +++ b/data/etc/init.d/rattail-filemon_tmpl @@ -0,0 +1,19 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: %(name)s +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: %(desc)s +# Description: Manages the %(desc)s daemon. +### END INIT INFO + +DESC="%(desc)s" +NAME=%(name)s + +PYTHON=%(envdir)s/bin/python +RATTAIL=%(envdir)s/bin/rattail +RATTAIL_ARGS="--config=%(envdir)s/app/filemon.ini" + +. /var/lib/rattail/init.d/filemon