Questions tagged [daemon]
A daemon is a process or program that runs in the background (i.e. requiring no user interaction).
daemon
2,648
questions
0
votes
0
answers
11
views
Linux Mint: Why can't Flutter run adb and why does vscode keep saying flutter daemon has terminated
I'm having trouble getting flutter working on my new linux mint install. I have two problems:
First problem:
flutter doctor returns
[☠] Connected device (the doctor check crashed)
✗ Due to an ...
0
votes
1
answer
25
views
How to create daemon unit for fastapi server with poetry?
I created a shell script for start my fastapi server which located in my-dir. It works properly when I run it with ./script.sh. Server runs.
#!/bin/bash
poetry run python main.py
Now I want to ...
0
votes
1
answer
27
views
Can I use a python script to run as a daemon with async libs or do I need to use subprocess?
I need to run a quick experiment with python.
However, I am stuck with an async issue. I am not very familiar with python async programming, so please bear with me.
What I want is to run a script ...
1
vote
1
answer
55
views
Send `kill -SIGUSR1` to daemon process
Suppose you have a daemon process owned by user foo and group foo and can be initiated via sudo systemctl start foo.service.
This daemon spends most of its time waiting on a sub process sleep, but can ...
0
votes
0
answers
20
views
Failure on deploying node.js applications in cpanel
Unfortunately I'm having difficulties hosting my node.js application. I'm having errors and failures. Firstly, cpanel said that there was a possible error in package.json, it said that it contained ...
-2
votes
0
answers
23
views
Daemon issue, gradle
What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
https://docs.gradle.org/7.2/...
0
votes
1
answer
62
views
Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)
On my local machine it runs well. on CircleCi it fails with this error.
I'm using java 17.
gradle 8.5
and the following -
org.gradle.jvmargs=-Xmx4G -Dkotlin.daemon.jvm.options=-Xmx2G
-XX:+...
0
votes
0
answers
49
views
How to access pod metadata in a later step without using the Argo daemon container feature?
When using Argo daemon containers, referencing the IP of a previous step is well-supported via the {{steps.<step-name>.ip}} variable:
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
...
0
votes
0
answers
13
views
sys.stdin.readline() in an inittab
I am using sys.stdin.readline() to to hang the execution of a Python script, to keep it persistent. When I put this script in an inittab and it comes time to log into Linux after rebooting, hitting ...
0
votes
0
answers
23
views
macOS Process Mobileassetupdaterd Hogging CPU
A process named Mobileassetupdaterd owned by the user _accessoryupc, hogs 35% of CPU.
It's associated with a file named MobileAssetUpdater at:
/System/Library/PrivateFrameworks/MobileAssetUpdater....
0
votes
1
answer
40
views
Using the rust tracing library with daemonize
I would like to use the tracing library together with deamonize.
Consider the following example
use tracing::info;
use tracing_subscriber::layer::SubscriberExt;
use tracing_subscriber::{fmt, Registry};...
1
vote
1
answer
32
views
Opening 0,1,2 descriptors when creating daemon process
APUE (Figure 13.1) says for creating a daemon, after closing all open file descriptors, attach the descriptors 0,1,2 to /dev/null as follows:
/*
* Close all open file descriptors.
*/
if (rl.rlim_max ==...
0
votes
1
answer
48
views
Python as a service in docker or cron?
What is the python script doing?
I have implemented leader election for Artemis ActiveMQ Primary-Backup HA. This checks the availability of ActiveMQ pods and updates the labels in the pod(The label of ...
0
votes
1
answer
76
views
How to deploy a Python controller via Azure devops pipeline
I am working on creating a basic azure pipeline which is expected to do following tasks:
Pull Python code from github
Run the python controller via gunicorn
deployment server is a Linux VM in ...
0
votes
0
answers
30
views
Expected behaviour for running a macOS bundled app as a daemon
I have a very basic macOS bundled application with just the empty delegate methods implemented. I want to run this application as a daemon, and so I have created the below daemon property list file.
&...