daevaorn / djapian

High level Xapian integration for Django
Other
6 stars 3 forks source link

Allow run-once and fork options to run_djapian #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
= Problem =
Currently you must nohup run_djapian to put it in background

= Solution =
Add 2 options:
--fork or -f to fork it in the beggining and put in background
--run-once or -o to run only once and die

Note that the run-once option must not allow 2 instances at the same time,
because we can open only one writable database in the same database.

Original issue reported on code.google.com by rafaeljs...@gmail.com on 29 Jan 2008 at 6:32

GoogleCodeExporter commented 9 years ago
Fixed. `--no-fork` and `--run-once` options are available

Original comment by daevaorn on 27 Aug 2008 at 5:48