diff --git a/data/etc/init.d/rattail-dbsync_tmpl b/data/etc/init.d/rattail-dbsync_tmpl new file mode 100644 index 0000000000000000000000000000000000000000..fc54146542cc85eb8af20323f145c6ba8275add3 --- /dev/null +++ b/data/etc/init.d/rattail-dbsync_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/dbsync.ini" + +. /var/lib/rattail/init.d/dbsync