Computer program that runs as a background process, rather than being under the direct control of an interactive user.

learn more… | top users | synonyms

3
votes
3answers
182 views

How to start SSH daemon on boot on Linux Mint Debian v2

I'm using Linux Mint Debian v2, 64-bit. I noticed recently that my ssh daemon does not start automatically on boot. It used to. I'm not sure if it had to do with my UFW configuration or sshd_config ...
1
vote
2answers
2k views

Get transmission web interface working with web server

I have my working on default port and I want to be able to use the web interface with an URL like http://my.domain/torrents. I tried adding a location and a proxy conf to Nginx but it fail to work ...
3
votes
1answer
32 views

How to distinguish if a systemd unit is run by apt-get or during boot?

Can one somehow distinguish if, a) the daemon was started during boot or, b) (re)started by an apt-get install or upgrade? Can this be distinguished from within the daemon itself? The use case is ...
3
votes
1answer
1k views

how to specify daemon dependency upon another daemon

in /etc/init.d/ first daemon # Provides: first # Required-Start: $remote_fs $syslog second daemon # Provides: second # Required-Start: $remote_fs $syslog first Is this ...
2
votes
1answer
117 views

How to specify a daemon shutdown command with upstart?

In an upstart configuration how do I define what command should be used to shutdown a server. Lets say I have daemon that has two seperate processes. startup.sh - to start the server shutdown.sh ...
2
votes
1answer
508 views

How to log processes in daemon-mode?

I would like to save the standard output of the program motion in a text file. If I don't use motion in daemon-mode I would simply do it by: motion > log.txt But what is the equivalent when I ...
1
vote
1answer
93 views

Jar on Raspberry Pi not responding after a long time

Hello I made a java program with friend that is designed to run 24/7 as a personal assistant on a headless Raspberry Pi. It basically can be used as an alarm and to tell us the weather or news etc. So ...
1
vote
1answer
270 views

Kill wifi connection

I am trying to debug my wifi which does not work so I want to stop wpa_suppliciant and apply the -d option If I first kill -9 <pid> Then ps -A | grep wpa returns a new pid I am on ...
1
vote
1answer
112 views

Lock a script starting daemons

I'm run a script with cron: */10 * * * * flock -n /tmp/lock script I have to make sure that only one instance of the script is running at the same time, and for that I'm using flock. The problem is ...
0
votes
1answer
42 views

How do I make a python daemon run at bootup?

I am writing a Python program that will act as a custom converter for a hardware application for me on the raspberry pi. I have written python code to act as a daemon, but how do I go about making it ...
0
votes
1answer
303 views

lsb - log_daemon_msg echoes messages in shell console!

#!/bin/sh . /lib/lsb/init-functions log_daemon_msg "this is a daemon s message" On the shell console, it prints, this is a daemon s message A daemon process doesn't have stdout at all. So why ...
0
votes
1answer
174 views

Possible to pass env vars into chpst without envdir?

I use runit to daemonize my web application, and I'm trying to see if I can have my process managed by sv not have to have a corresponding envdir for its environment variables. I wonder if I can just ...
0
votes
1answer
161 views

Running smsd gnokii on boot

I can successfully run smsd but I could not run it on boot. I tried using rc.local and @reboot cronjob but none of the two worked. Does anyone tried to successfully run the script on boot?
-1
votes
1answer
164 views

inittab respawn and rc.local

At the moment I have a daemon starting at boot using rc.local by the following line. su -l user -c '/dir/daemon' but I would like to start this process as a service with respawn. I found out that ...
3
votes
0answers
117 views

IMAP caching proxy for sharing connections

I'm trying to find an IMAP proxy in which multiple clients will share a single connection to the same server. The reason for this is because most mail providers only allow a limited number of IMAP ...
2
votes
0answers
28 views

How to recognize a state of idleness for a given period in a script?

I would like to write a simple script, that should work as a daemon. The only thing this dameon has to do is to check if for a given period neither a key has been hit, nor a mouse moved, nor a ...
2
votes
0answers
147 views

How do I process the output of obexpushd?

I am using obexpushd to accept files from paired bluetooth devices. I need to extract the MAC addresses from the output of obexpushd to find out which file has been sent by which device. This ...
2
votes
0answers
105 views

Configuring jackd (JACK daemon) with ALSA

I'm trying to wrap my head around ALSA config files and jackd, but I'm not getting anywhere, other than crashing my machine. The microphone is a USB type and specified in ALSA arecord as -D ...
1
vote
0answers
40 views

Daemonize a perl script at startup Linux

I have a custom version of CENTOS that I need to run a perl script as a daemon in at all times. To do this I want to get it to run on startup as a daemon. When the machine is on I can daemonize the ...
1
vote
0answers
232 views

“avahi-daemon[1540]: server.c: Packet too short or invalid while reading response record. (Maybe a UTF-8 problem?)”

We are developing an application in Java for our internal project. Apache-Tomcat-7.0.57 is running on a Linux machine (Red Hat 4.4.6-4). But it throws an error avahi-daemon[1540]: server.c: Packet ...
1
vote
0answers
98 views

NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: server SMTP socket wedged: exiting

host map: lookup ( ): deferred It is the log info in mailq. NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: server SMTP socket wedged: exiting It is the log at /etc/log/maillog I use ...
1
vote
0answers
48 views

Simple automount USB devices with fstab: is it normal behaviour?

I notice that adding this in /etc/fstab: /dev/sdb1 /media vfat nofail 0 0 will automount any SD card of my USB SD reader, and even auto-remount if I remove the card, and insert a new ...
1
vote
0answers
36 views

Output Tmux Output to the Terminal

I'm using supervisor to monitor keep a process alive, but I do need to have contact with that process every now and then to provide user input. I would normally use tmux for this, but when I use ...
1
vote
0answers
24 views

execute command on pointer movement, wait and revert?

I've got two pointing devices (touchpad and trackpoint) and the goal is to execute a command when movement (any direction, any distance) is detected on the trackpoint, then wait a configurable amount ...
1
vote
0answers
136 views

MongoDB “service” on clean Redhat can not be started

I just bring up Redhat 6.5 64-bit from AWS and did the below things: Disabled SELinux Disabled Iptables All ports opened in Security Group Rebooted Then i just followed, both of the below ...
1
vote
0answers
52 views

Multiple daemons init script

I have two daemons currently running on my development server (OpenSUSE 12). There are two daemon that work together as a whole and must start together and die together. Is there a standard way to ...
1
vote
0answers
702 views

Debian init.d with a working C++ daemon, unexpected results

I am fairly new to programming for Linux, and init.d scripts, and I have a problem with my init.d script adapted from an example I found via a lot of google searching. Instead of getting a status, ...
1
vote
0answers
104 views

Cygwin DenyHosts daemon-control file: no such file or directory error

I have been trying to figure out this error and searched everywhere with no luck. I have installed DenyHosts on Cygwin and also the DenyHosts daemon but when I try to start the daemon by typing: ...
1
vote
0answers
790 views

start_daemon fails with exit code 7

I have a daemon called mydaemon.bin and a shell script called start-my-daemon.sh that sets some environment variables and then starts mydaemon.bin, which in turn calls the unix function daemon to ...
1
vote
0answers
298 views

How to setup a simple email daemon with autorespond and mail forwarding?

Since my mail provider unfortunately offers neither an autoresponder nor forwarding mail to others during vacancy, I'd like to setup e.g. a RaspberryPi to regularly check my mail account (via POP3 or ...
1
vote
0answers
253 views

Upstart: How to respond to startup of a service, thats not part of Upstart?

I'm running Ubuntu server and playing around with Upstart. I have installed PostgreSQL database server which doesn't use Upstart system, however im also writting an Upstart script that starts another ...
0
votes
0answers
42 views

Starting Daemons in specified order

I would like to load some custom daemons I have made in a certain order. One daemon starts xflux and one starts the x server. Is it possible to make the xflux daemon run only after the startx daemon? ...
0
votes
0answers
363 views

/var/run/dbus/system_bus_socket: No such file or directory

I've been using Linux systems for years now and wanted to try Kali Linux as my next. I've been using Backtrack before as well and never experienced errors. However, I just installed Kali and boot up ...
0
votes
0answers
732 views

nfsd fails to start: modprobe: FATAL: Could not load /lib/modules/2.6.18-238.1.1.el5/modules.dep: No such file or directory

Before asking, here are some system specs: [root@SERVER ~]# cat /etc/*release **##############CARS build log for cars20-rhel-x86_64############## Date: Mon Feb 28 20:06:05 PST 2011 Builder: ...