Skip to content

Commit

Permalink
Yeah, just going with nofork now.
Browse files Browse the repository at this point in the history
  • Loading branch information
phooky committed Aug 2, 2012
1 parent 244d1f9 commit c043f5e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions conveyor_service.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/python

import sys
#override sys.path
Expand Down
6 changes: 2 additions & 4 deletions data/conveyor.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ author "MakerBot dev team <dev@makerbot.com>"
start on runlevel [2345]
stop on runlevel [!2345]

expect daemon
respawn
respawn limit 10 20
respawn limit 10 5


exec start-stop-daemon --start -c conveyor --exec python /usr/share/conveyor/conveyor_service -c /etc/conveyor.conf
exec sudo -u conveyor /usr/bin/conveyord --nofork -c /etc/conveyor.conf
2 changes: 1 addition & 1 deletion wrapper/conveyord
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
. /usr/share/conveyor/virtualenv/bin/activate
export PYTHONPATH=/usr/share/conveyor/lib/module:$PYTHONPATH

python /usr/share/conveyor/conveyor_service.py -l DEBUG -c /etc/conveyor.conf "${@}"
python /usr/share/conveyor/conveyor_service.py "${@}"

0 comments on commit c043f5e

Please sign in to comment.