Tagged Questions
0
votes
1answer
701 views
Running python script as a daemon in debian
I'm trying to run my python script as a service... But I'm getting this error when I call sudo update-rc.d mylistener start:
Use of uninitialized value $ARGV[1] in pattern match (m//) at ...
1
vote
0answers
482 views
Running Celery as a Daemon while using VirtualEnv
I've setup and tested celery on my amazon linux server, using mysql as the messaging backend and it works fine when running the program directly. My python project and celery install are located in a ...
2
votes
1answer
688 views
Daemon can't be started from fabric script or on boot - only interactively
I have a daemon script in /etc/init.d that performs some background packet logging using the tcpdump command. The script starts up fine using an interactive shell using sudo /etc/init.d/packetlog ...
1
vote
1answer
508 views
Trouble running Python Celery as a daemon
I have Celery setup and running as a daemon on a Ubuntu EC2 instance. This morning I updated some of the tasks and tried to restart Celery and it wasn't working. After working at it a bit I found:
...
28
votes
7answers
16k views
How to automatically start supervisord on Linux (Ubuntu)
Supervisord does not come with an init script or does not indicate how to get it started automatically, ie. after a reboot. I've tried some user-contributed /etc/init.d scripts, but they all fail.
...
3
votes
3answers
1k views
Scheduling tasks with Django
I have a Django website, and I want to have a certain piece of Python code run at regular intervals. What would be a good way to do that?
I know I can cron, but I would prefer the solution to be ...