Questions tagged [daemon]
Computer program that runs as a background process, rather than being under the direct control of an interactive user.
429
questions
0
votes
2
answers
36
views
When to useradd
I'm writing a daemon in C which needs to do some things as a separate user from root. I will call this user "testuser". My program is installed by its makefile. My question is thus, when ...
0
votes
0
answers
13
views
How do I test to see if the Nix daemon is running and accepting requests?
(I'm asking here about the Nix package manager, not NixOS.)
What code (in Bash, or similar) can I run to see if the Nix daemon is running and able to accept requests from the current user? Ideally ...
0
votes
0
answers
28
views
Can an HTTP Request work with RSYNC?
So I know RSYNC daemon which negates the usage of SSH in order to send or receive files. However, I'm seeing there's some HTTP GET traffic along with a web-scanning user agent over port 873 to these ...
0
votes
0
answers
51
views
Debian 12.5 - can't create user - "User ID is not unique/already in use"
I tried to install Eaton Intelligent Power Protector onto a Proxmox 6.5.11-8 machine (based on 12.5 Debian without desktop environment).
Installation failed as the installer could not install the ...
0
votes
0
answers
23
views
What user do service units/daemons belong to? [duplicate]
I have been reading about systemd and the Linux boot process.
I'm confused on what user the system services that get started belong to.
Do they belong to root? Or something else?
3
votes
1
answer
245
views
How to keep a script running persistently in background
Currently I launch my UDP BitTorrent tracker using the command ./target/release/aquatic_udp -c "aquatic-udp-config.toml" the app shuts down when I close the console. What is the preferred ...
1
vote
2
answers
107
views
systemd to control a daemon written in python
I have acquired a python script that is invoked at the command line and immediately returns having demonised and two processes have spawned. Unsure why two but one is the parent of the other.
I wish ...
1
vote
1
answer
1k
views
Popup cannot be interacted with: "Daemons using outdated libraries" "Which services should be restarted?"
The pop-up "Daemons using outdated libraries" "Which services should be restarted?" breaks my scripts as it cannot be interacted with, requiring me to interrupt. It happens when I ...
-1
votes
1
answer
266
views
Here is how to add support for Brave browser in profile-sync-daemon
Profile-sync-daemon can be installed in Debian based systems with sudo apt install profile-sync-daemon and in Arch based systems with sudo pacman -S profile-sync-daemon, but it lacks native support ...
0
votes
0
answers
40
views
How to start openvpn without any daemonization and log redirection?
I want effectively a debug modus, i.e.
I do not want openvpn to fork
I want all output in the stdout/stderr and nothing in various logs.
How can I do that? I could stop forking with a --daemon=0, ...
0
votes
0
answers
79
views
Can't start TOR as a daemon on FreeBSD
I'm trying to understand why TOR does not start as a service on my FreeBSD 13.2. This is the error message that I see during the boot :
[notice] Tor 0.4.8.9 running on FreeBSD with Libevent 2.1.12-
...
1
vote
0
answers
65
views
Cant get Python program to work as service
I am trying to run a rather simple python program on startup and making it restart by itself.
Python program working fine from terminal.
Service just gives me a failed Message.
sudo systemctl status ...
0
votes
0
answers
52
views
Forking from a systemd service [duplicate]
I have a python program that runs as a systemd user service. From that program, I launch external commands via subprocess.Popen(cmd, close_fds=True, start_new_session=True). My intention is for these ...
0
votes
1
answer
124
views
How can I stop a script from writing it's output to daemon.log?
I have a unit file that calls a script (myscript.sh), passing it a "start" command. The script parses what is passed to it and if it's a start command, it runs a jar using this line:
java -...
1
vote
0
answers
125
views
How can daemons source environment variables on a machine without persistent storage
I'm working on a Yocto Project build of an AARCH64 system, where I need the monit daemon (or at least a process started by monit) to access an environment variable I'm setting.
It's my understanding ...