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

learn more… | top users | synonyms

0
votes
0answers
5 views

Turn on bluetooth on login screen

Is it possible to have bluetooth turned on and use a bluetooth keyboard when at the login screen? So far I only managed to start the bluetooth daemon when logged in. I added it to systemd with ...
3
votes
1answer
28 views

Is there a way to make nice (process priority) values survive a reboot?

I've been working on setting my Pi up as a seedbox, which I have no finally got working. My issue is that I also use this Pi as a mumble server and NAS for my media in home. I'm quite comfortable with ...
0
votes
0answers
18 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
1answer
19 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 ...
1
vote
1answer
26 views

CKB Arch - Daemon run on startup

I have a Corsair K65 RGB Keyboard. To start it working, I had to clone https://github.com/ccMSC/ckb , compile and run the [clonedir]/ckb/bin/ckb-daemon . Every time I boot, I have to pull out my old ...
1
vote
1answer
24 views

What happens to the services that do not have a killing-script in the new run level?

I read, that each runlevel has its own set of services or daemons, which can be looked up in /etc/rcX.d (X for the respect runlevel), there are scripts which names start with S and start services of ...
1
vote
1answer
57 views

atftpd won't start on opensuse tumbleweed under systemd

I tried installing atftpd today. The package installed successfully: # zypper se atftp Loading repository data... Reading installed packages... S | Name | Summary | Type ...
0
votes
0answers
72 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 ...
2
votes
0answers
18 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 ...
0
votes
0answers
59 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
0answers
16 views

How to execute a command only the first time a user logs in? [duplicate]

I have a daemon ( Dropbox ) that needs to be started as the user X, and only the user X, logs in. In addition, I would like this daemon to be started only the first time the user X logs in. If I add ...
1
vote
1answer
57 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
90 views

Running init script which starts a deamon in background for reducing boot time?

I'm looking for ways to speed up the boot time on a single core embedded Linux system. Significant lag happens during start up of some custom daemons. Once they are up, they do run in the background, ...
0
votes
1answer
189 views

Passing variable in init.d script

I have the init.d script show below. I want to start the daemon with the argument --http_root /tv When I start the application without the daemon the argument is accepted However I cannot seem ...
0
votes
1answer
84 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
vote
0answers
30 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 ...
4
votes
1answer
3k views

How to list all running daemons?

From my question, it was clear that I cannot easily decide the features of a daemon.I have read in different articles and from different forums that service --status-all command can be used to list ...
1
vote
2answers
98 views

Can Process id and session id of a daemon differ?

As far as I understood from different articles and here , a daemon has the following features: Parent Process ID should be 1. No terminal should be associated with the process. The process id, ...
3
votes
1answer
1k views

unable to restart networking daemon

When I type sudo service networking restart, I am getting error as shown below: edward@computer:~$ sudo service networking restart stop: Job failed while stopping start: Job is already running: ...
2
votes
1answer
164 views

rngd - multiple instances from init script

On Ubuntu >=12.04, what is the most correct/prettiest way to get rngd to run in multiple instances using an init script? The current one only accepts one random source, so multiple instances are ...
1
vote
0answers
22 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 ...
0
votes
1answer
673 views

Syncthing daemon starts manually using script, but not at startup

I have installed syncthing on a Linux Mint Debian Edition machine and am trying to get it started at boot time using an init script in /etc/init.d. I followed this tutorial. Symlinks in /etc/rc.* ...
0
votes
1answer
24 views

IRC server is being stored data in DB such as mysql or psql [closed]

I need a IRC server with the following features: Can be store chatted data in a db such as mariadb or psql Can be limit per user (rw,ro) Be Freesoftware Please suggest me.
1
vote
0answers
13 views

How to interpret numerous processes with exact same RAM usage [duplicate]

I have a VM that processes files, parses the information and saves it to a database. I've been monitoring the resource usage and noticed /usr/sbin/console-kit-daemon --no-daemon.. Below you see a ...
0
votes
1answer
55 views

Can we input or send any text to the daemon?

I have some ‍upload/download ruby scripts; I want to run those scripts in daemon process. When I run ruby script on terminal, it ask for some input after that script start to execute. So now I want to ...
1
vote
1answer
47 views

Start a service on a network request (socket activation)

I have a program that under normal activation listens on some port. I don't want the program running continuously. Is there a "quick and dirty" way to wrap the application in a shell script or ...
1
vote
1answer
77 views

communicate with rsync daemon without sockets

According to the manpage, rsync --daemon will either: try to communicate using the rsync protocol using stdin/out, if it detects that the stdin/out are a socket, open a TCP socket for listening and ...
1
vote
1answer
536 views

Daemon's open file limit is reached even though the system limits have been increased

I am running Debian wheezy. File limits are increased to 100000 for every user. ulimit -a and ulimit -Hn / -Sn show me the right amounts of maximum open file limits even in screen. But for some reason ...
1
vote
2answers
580 views

How to start teamspeak server on reboot as specific user

Linux version on the server is Centos 7.0. Teamspeak server runs with this command: ./opt/teamspeak3-server_linux-x86/ts3server_startscript.sh start My server doesn't have 100% uptime. Therefore, ...
4
votes
2answers
2k views

How to check whether a process is daemon or not?

I have written a small daemon that starts at the boot time and does all the things perfectly like writing in the log file. But I want to know, how can we check whether that process is daemon or not? ...
1
vote
1answer
204 views

Daemon /etc/init.d message on Debian

When I start/stop/restart a daemon (eg. apache2), no message appears. I am on Debian testing (jessie). On my old server (Debian testing too), messages are displayed: root@old-server # ...
1
vote
1answer
50 views

High precision scheduler daemon

I'm looking for a scheduler daemon like cron, but with at least seconds precision so I can use it for a radio automation app. I've heard conflicting rumors about cron's ability to handle seconds. If ...
0
votes
1answer
929 views

I stopped MiniSSDPD, will something bad happen?

I have been trying to harden my Debian system by stopping and disabling the 20 or so unnecessary services listening by default. One of them is called "minissdpd". Apparently this provides "discovery" ...
1
vote
0answers
103 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
36 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 ...
3
votes
1answer
48 views

Methods to find out which (configuration) files are read by executable when started

What are the clever ways to find out which (configuration) files are read by executable if started? For example snmpd or sshd. One option is probably to check the CONFIGURATION FILES or FILES section ...
1
vote
1answer
175 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
0answers
94 views

Essential tasks of a routing daemon in Linux [closed]

What I have understood so far from some software router projects already there (e.g. bird), there are some essential subtasks for routing in Linux. Task 1: Get a routing table first (using ip route ...
0
votes
0answers
663 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: ...
0
votes
1answer
45 views

What program constantly reads e-mails and could execute actions under certain conditions?

I need a program that would be running as a daemon, connecting to mail server and reading inbox of a specified e-mail address (provided with password, of course =) ). If certain conditions are met, ...
4
votes
1answer
6k views

start-stop-daemon not working as expected, no pid file was written

I'm trying to control a python based program (which doesn't detach itself from console) #!/bin/bash user=nobody pid=/var/run/xx.pid name=xx prog=/xx.py case $1 in start) ...
0
votes
0answers
34 views

Execute snippet of code when key is pressed [duplicate]

I want to create a process in Linux which waits for some particular keys to be pressed and executes a snippet of code and goes back to sleep. How can I achieve this? Initially a process will be in ...
1
vote
0answers
31 views

daemon causes problem to the device [closed]

Currently I am working on one hardware device and we are calling it as a Unit (there are about 100 units). This Unit is built on Ubuntu 12.04. There is one daemon called dispaly_msg which is used ...
4
votes
4answers
507 views

Run command when temperature exceeds threshold, without daemon

I need to run a specific command if my laptop gets too hot (for example, send a STOP signal to Firefox or Virtualbox in order to prevent my laptop from shutting down violently and damaging my hard ...
-1
votes
2answers
181 views

Start the script with sudo not working [closed]

I am trying to start the virtual machine (ORACLE VIRTUALBOX) using this script (script name: start_vm001.sh). START_VM=`/usr/bin/VBoxHeadless --startvm testvm001` EXECUTE_VM=`exec ...
3
votes
1answer
407 views

fail2ban permission denied on script

I've just upgraded from RHEL 5 to 6.5 and setup fail2ban anew. I can't seem to get my custom action to work now, supposedly because of a permission issue. I wan't to know what am I doing wrong, and ...
1
vote
1answer
358 views

Setting up init.d service daemon priority (with or without monit)

Does anyone know how to change the process priority with monit? I want a high one. Monit config file for my service so far: check process RPiQuadroServer pidfile /var/run/RPiQuadroServer.pid ...
2
votes
2answers
135 views

How to add new elements to PATH for daemons (or other best practices)?

I want to add some scripts for custom administrative work to a Linux server (Ubuntu 12.04). Ultimately those scripts are callback scripts from at least one daemon (PostgreSQL in my case but that ...
1
vote
1answer
83 views

Daemons fall into what category?

Above system call, there are library routines, utilities and applications. Do daemons fall into any of these categories or they have their own category?
0
votes
2answers
158 views

Why programs often fail to run when started by `daemon`?

I do daemon -f -i ./some_gui_program - it starts. I do daemon -i ./some_gui_program - nothing visible happens. Why I can't start GUI programs detached on Linux this way? What's the use of daemon's ...