On linux an unix-like systems is demon the designation of processes running in the background and providing certain services. Direct user intaractions with demons are not intended.
Questions tagged [daemon]
286 questions
0
votes
1 answer
How return to prompt after execution of script that spawns a daemon?
$ cat appleclue.sh
#!/usr/local/bin/bash
source ~/.venv/appleclue/bin/activate
cd ~/applications/appleclue/appleclue-web/
git pull
pip install -r requirements.txt
python3.9 manage.py migrate --noinput
python3.9 manage.py collectstatic…

Victor Ribeiro
- 161
- 1
- 6
0
votes
1 answer
How to stop the swatchdog scipt running in the background?
Under Ubuntu 20 I have installed Swatchdog and started five daemon processes (running in the background).
Now I wanted to stop the script, so I used apt-get remove swatch.
However, as I could notice, this did not remove the background…

Avatar
- 127
- 1
- 1
- 10
0
votes
1 answer
How do I find the PID file for a process given the PID number?
I'm trying to use Monit to monitor and send email alerts about a process when it stops running, but I need the location of the PID file for that process. I can find the PID number using the htop or ps commands and I thought it would be pretty…

Alasdair
- 3
- 2
0
votes
0 answers
Setting UMask in systemd override.conf is ignored
I'm using amavisd on fedora33 and trying to change the file permissions on the socket it creates so nagios and nrpe can read the file in the amavis group.
The file permissions currently are as such:
# ls -l /run/amavisd/amavisd.sock
srwxr-x--- 1…

Alex Regan
- 143
- 6
0
votes
1 answer
Configure a server program to restart after crash
I have a web service that runs on Linux. Is there a conventional way to ensure the server is restarted in the event of a crash?
I suppose I might have a shell script which does something like this:
while true; do ./myserver; done
But I think the…

CaptainCodeman
- 227
- 2
- 10
0
votes
1 answer
Fedora28 - firewalld stopped working as it unable to communicate with ABRT daemon
We are currently running a Fedora 28 server. Due to the server being restarting multiple times, FirewallD has stopped working. Based on the error messages presented when we run the command systemctl status firewalld, it appears as though the ABRT…

Ashish Prajapati
- 1
- 1
0
votes
0 answers
Linux OS hangs at boot due to daemon systemd service fault
i have a python script that does infinite loop on functions written, and i have added this to systemd as service so i want to run python script at background and control its from systemctl.
sudo vi…

Maria628
- 101
0
votes
1 answer
Making git daemon serve the repo I created
I've been wracking my brain over this and came to a possible conclusion with no solution. First, my dilemma.
I have a project where I can create a repo programmatically. I can edit the description of the repo, set the default branch, &c. This is…

NetOperator Wibby
- 121
- 9
0
votes
1 answer
Docker daemon seems to ignore no_proxy configuration
I'm trying to setup a docker daemon behind a corporate proxy (e.g. http://proxy.domain.name:3128) and want the daemon to ignore the proxy when pulling images from a local registry (e.g. registry.domain.name)
I have the following configuration:
File:…

Bigbohne
- 113
- 5
-1
votes
1 answer
Killing a Perl process in Linux
I started a perl process that runs a script and I want to end it, but not the rest of perl scripts. How do I target it and not the rest?

prgrm
- 151
- 1
- 2
- 6
-1
votes
2 answers
Run php scripts in ubuntu as deamon one time and on every bootup
I have a simple question that I couldn't find an answer for on the web or on StackOverflow.
I have two PHP scripts that I would like to run as daemon (not every x seconds/days).
Now I want to run them manually. I would also like them to run every…

Liad Livnat
- 221
- 1
- 3
- 7
-1
votes
1 answer
logging in daemon process
I'm new to all this stuff, so please forgive if a question is stupid. I'm running a script as daemon, in order to debug it I'm trying to dump logs in file, but no file is created. And if I run script not as daemon log file is created and logs are…

Eugeny89
- 131
- 1
- 5
-1
votes
1 answer
What is the difference between Windows XP services and Windows 7 services?
I have downloaded an open source C++ application. This application run as a Linux daemon, listening at a port, and waiting for connection from client PC. Someone has compiled this application under Cygwin so that it can run in Windows environment.…

user030102
- 3
- 1
-2
votes
1 answer
Running services from GNU Screen
There are quite a lot precautions one is to take when running a process as a daemon. It seems to me that running it inside GNU Screen is a viable alternative, since it guarantees to run the process after logging out of the server, output can be…

Joó Ádám
- 265
- 3
- 10
-3
votes
1 answer
how to run postfix by hand
I compiled postfix 2.9.5 with mysql backend.You know postfix daemons are ran with postfix, So i don't know main postfix daemon to run by hand. What's main daemon ?

PersianGulf
- 602
- 8
- 21