2
votes
1answer
72 views

Upstart cannot determine daemon's pid

There is a daemon mydaemon, which has not a very pleasant interface. So that mydaemon-parser.py was written to parse configuration files and start as many mydaemon instances as needed. ...
0
votes
0answers
64 views

Keeping python alive through gnome 3 screen lock?

I've been through the ringer with this one the past few days. I wrote a script to re-target my Altcoin miner every once in a while. It builds a command string from API data grabbed at coinwarz.com on ...
3
votes
1answer
192 views

Which processes with daemon are unnecessary?

I saw 3 processes which have "daemon.py" at the end of them and use 10 MB of memory each of them. What do they make? Also there are a lot of processes which have daemon inside. Are they really ...
0
votes
0answers
62 views

How to do input redirection with nohup?

I want to run python argument1.txt argument2.txt >logfile.log with nohup, but I get no output because it is redirecting the input to null. I want it to accept command line arguments at first and ...
0
votes
0answers
191 views

how to start python server using upstart

When I run initctl start my-service the shell just hangs, and the server.py is not running. server.py doesnt fork or anything, hence the use of start-stop-daemon. Its a flask rest app. I also ...
1
vote
0answers
113 views

Turn screen off when no motion in front of webcamera

Is it possible to automatic turn screen off when there is no motion detected in front of webcamera for X minutes ? Can i use sudo service motion start and xset dpms force on/off somehow ...
5
votes
3answers
1k views

How to run a program as a service (silent)?

I have a python based server which i start from the terminal. This particular instance of the terminal then gives control to the program, and the program uses it as a kind of logging window, until its ...
2
votes
1answer
90 views

Needing guidance on making a simple daemon for unity notifications in a python app

I am making an app using pygtk, glade, and quickly and want to make a daemon that runs in the background to provide unity notifications for alarms and events. I would like to find a way to not require ...
10
votes
4answers
393 views

How do I add a daemon to my Quickly application?

I am building a app with quickly, and I wanted to add a daemon that will run in the background. How do you do this?
3
votes
2answers
188 views

How do I daemonify my daemon?

As part of the Ubuntu Accomplishments system I have a daemon that runs as well as a client that connects to it. The daemon is written in Python (using Twisted) and provides a dbus service and a means ...
5
votes
2answers
782 views

Upstart not executing the exec function in upstart.conf

I have a completed upstart conf file loaded here: http://pastebin.com/5E7J5jEY but I'm having trouble with the upstart not executing the exec function and/or relinquishing the kernel console CLI back ...