A daemon is a process or program that runs in the background (IE requiring no user interaction) on a multi-tasking operating systems.
1
vote
1answer
12 views
How to simulate process/daemon crash on OSX?
How can I invoke/simulate process/daemon crash on OSX and as result to receive crash report in
/Library/Logs/DiagnosticRepors
(e.g. opendirectoryd_2013-06-11-125032_macmini61.crash)?
I tried ...
0
votes
1answer
22 views
Daemon Socket server in C
I have successfully created a C program which runs an infinite loop waiting for a connecting through sockets.
I would like to make it a daemon and be able to start and stop it. How can I do it? What ...
0
votes
0answers
12 views
Can I configure emacs to run a custom function when its dock icon is clicked?
I'm trying to set up Emacs as a daemon on Mac OS X. The major issue I'm running into is that if I close all the open frames, the remaining GUI elements (menu bar and dock icon) become nonfunctional ...
0
votes
1answer
5 views
Making Mac OSX launchctl launch a process as root on startup
My question is how to make a MacOSX daemon process using launchd start with root privileges automatically after a reboot?
I'm writing an application for in house use that blocks access to web sites. ...
0
votes
1answer
7 views
JSVC Cannot Register Native Methods
I'm trying to create a service that will run in Ubuntu Linux written in Java. My executable Jar file is a big fat Jar file that has all the dependencies packaged inside with it. I get the following ...
1
vote
2answers
33 views
How to wrap python daemon around my code
I have a working server using Tornado now, according to the answer here: Python BaseHTTPServer and Tornado
I'd like to daemonize it. I have been reading over and over this daemon class example here, ...
0
votes
0answers
19 views
Starting Celery with supervisord: AttributeError: 'module' object has no attribute 'celery'
I used to have all my Flask app code and celery code in one file and it worked fine with supervisor. However, it is very hair so I split my tasks to celery_tasks.py and this problem occurs.
In my ...
0
votes
1answer
38 views
exec functions not working from linux daemon
I have been writing a linux daemon which listens on TCP/IP for a request and launches an application on receiving that request. My problem is when I run this daemon from command prompt or IDE (eclipse ...
0
votes
1answer
24 views
How do I update code running as a daemon with zero downtime?
I have a Ruby daemon running which is collecting data, like temperatures. It collectes them every few seconds and, as soon as a minute is reached, it will calculate high, low and average values, which ...
1
vote
1answer
16 views
Is it possible to create a WordPress polling daemon as a part of a WP plugin?
A .Net developer, I have not yet done any WordPress plugin development, and would like some basic details/starting points for the following.
As a part of a WordPress plugin, is it possible to create ...
0
votes
0answers
15 views
Functional testing a daemon in Python
First, when I say daemon, I don't necessarily mean an application that's been spawned as such, but merely one that is intended to be run that way; in this case, an HTTP load balancing component.
The ...
0
votes
1answer
41 views
Is there a simple manage.py command that I run with django-celery to daemonize celery in production?
I've followed the guide at celery project page to daemonize the process with no success so far. I was wondering if there is a simple manage.py command to ease this process. I'm using django 1.5.
2
votes
2answers
52 views
Preferred location for PID file of system daemon run as non-root user
My question is related to this question, but the processes in question are run from cron, and by non-root users. As such, many of the users don't really have home dirs (or their home dirs point to ...
2
votes
1answer
19 views
Deamon vs User Agent convention on OSX
I'm developing an app which will periodically download files from a remote server for a user. I'm wondering whether I should, in OSX parlance, use a daemon, i.e. it will run as long as OSX has been ...
0
votes
0answers
31 views
Running daemonized Ruby script
I have a Ruby script that runs just fine on its own when I call
$ruby backup.rb
I am now trying to daemonize running that script, following instructions from http://daemons.rubyforge.org/ by ...