Questions tagged [daemon]

Daemons are programs which run in the background in multitasking operating systems. On Unix-like operating systems the names of many daemons end in the letter "d".

Filter by
Sorted by
Tagged with
0 votes
1 answer
18 views

Could Git Bash run daemon process periodically?

I have this myscript.sh act as a performance monitor in Windows Server. To do so, I'm trying my best here to avoid using WSL and using Git Bash to run the script but the problem is the script just ...
user avatar
0 votes
0 answers
7 views

how can a folder generate by a php application have permissions to be edit by user other than root or daemon ubuntu 20.04 lts

I'm running a php application on Ubuntu 20.04 lts with Xampp. I have it set up like /opt/lampp/htdocs/ReportsCo My application running when run generates a folder with some pdf inside. I cannot edit ...
user avatar
25 votes
4 answers
5k views

How does WSL/WSL2/WSLg work without systemd?

As I've understood it, systemd is Linuxes' "master"-daemon, managing all other processes right after it has been started up and run its init-function. Since I had this (now resolved) issue, ...
user avatar
0 votes
0 answers
56 views

The ezstream service quits unexpectedly

I have Icecast started at boot, running in the background, thus: # systemctl status icecast2 ● icecast2.service - LSB: Icecast2 streaming media server Loaded: loaded (/etc/init.d/icecast2; ...
user avatar
  • 111
0 votes
0 answers
150 views

How do I start a daemon on startup with SysV init?

I use MX Linux, which uses SysV init. Some softwares (like mullvad-vpn in my case) made for SystemD have their daemons not launching on startup. I can launch it with sudo service mullvad-daemon start ...
user avatar
  • 1
1 vote
1 answer
35 views

Build tool spawns a daemon that does not close its standard output. How can I prevent this from stalling my shell pipeline?

I am using a (closed-source) vendor-specific build tool (Microsemi Designer, an FPGA layout tool). I invoke it from a shell script (highly simplified): ... # Setup /opt/.../designer SCRIPT:my_script....
user avatar
  • 125
0 votes
0 answers
21 views

How to disable usage of Function keys in Redhat linux 6

I am trying to disable to usage of Function keys F1 to F12 in Redhat linux 6 so that combination of "Ctrl + Alt + F1 to F12” remains ineffective. PS: Redhat linux version is 6 which does not ...
user avatar
  • 101
1 vote
1 answer
60 views

Something kills Explorer

On the PC of my customer (MS Windows 10 pro 21H1 fully updated) there is some process that temporarily kills Explorer (the file manager daemon). As well, Explorer restores itself in few seconds. How ...
user avatar
0 votes
1 answer
431 views

What is the difference between transmission and transmission-daemon?

I have watched some tutorials on how to install torrent program on raspberry. I have seen somebody installs like this: sudo apt install transmission Someone installs it like this: sudo apt install ...
user avatar
  • 1
0 votes
1 answer
207 views

What's the difference between: a program, process, job, service, daemon, script, command? [closed]

Can someone clearly explain what's the difference between these terms? Helpful previous answers: What's the difference between an Application, a Process, and a Service?
user avatar
0 votes
1 answer
315 views

Avahi gtk style provider error/ avahi-daemon won't start

So, just got a Raspberry Pi, and I'm trying to connect to it via mDNS. However, when trying to start avahi-daemon on my WSL2 kali-linux distribution sudo service avahi-daemon start I get Starting ...
user avatar
  • 23
6 votes
1 answer
321 views

MacOS - "at" command is not working

I've started the atrun daemon using the following command. $ sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.atrun.plist Added my username to /var/at/at.allow file. $ cat /var/at/at....
user avatar
0 votes
1 answer
32 views

How do I find which user sent a message (systemd) / mount encrypted zfs on login

Question How do I send a message from a user to a daemon where the daemon is guaranteed that the message came from the user? Assuming the user might be malicious. Original Problem I'm on linux (arch ...
user avatar
1 vote
1 answer
681 views

How to remove Bradford Persistent Agent in Catalina

How do you you remove the Bradford Persistent Agent from a Mac running macOS Catalina? The main issue is that the given /Library/Application Support/Bradford Networks/Persistent Agent/Uninstall.app ...
user avatar
  • 183
0 votes
1 answer
48 views

Daemon Process in Linux

I have read that daemon processes in Linux a result of double forking. Are all the daemon process a result of double forking or are there some exceptions?
user avatar
0 votes
0 answers
90 views

problems with usernames in docker

Good afternoon, I am currently configuring the user name for my containers in the daemon.json file and following the tutorials that I post below: I am using the following documentation: https://docs....
user avatar
0 votes
1 answer
41 views

Giving argument to systemd binary

I am trying to run a systemd service for my binary. The binary expects an argument for --public-ip field, which i supply through curl https://ipinfo.io/ip. I did in the following way but the ...
user avatar
0 votes
1 answer
114 views

how to stop sites setting service-workers, without blocking cookies, in google chrome

I want to be able to block service-workers from being allowed by default, on google chrome. But I want to allow cookies by default. I dont see a way of blocking service-workers without blocking all ...
user avatar
0 votes
0 answers
50 views

Run an ubuntu process only if a computer is online

I have a systemd process in Ubuntu that I only need running when a PC on the network is online (It's a status monitor app). I thought about using another service that pings the NetBIOS name, but I can'...
user avatar
8 votes
4 answers
2k views

Bash-script as linux-service won't run, but executed from terminal works perfectly

I have custom script to mount google drives. Part of this script, is following code: if [ ! "$(which google-drive-ocamlfuse)" ] then echo "Install google-drive-ocamlfuse first!" exit 1 fi ...
user avatar
  • 93
1 vote
0 answers
231 views

Connect Intellij to Docker Daemon - TLS Settings Failed

I am trying to connect Intellij to Docker Daemon on Windows 10. I don't want to expose Daemon without TLS, so I have been looking for a way to setup TLS. I have looked through some documents, ...
user avatar
  • 11
1 vote
1 answer
2k views

start-stop-daemon: command not found error in Debian

I'm a linux noob and I'm moving first steps on debian. I'm trying to execute a simple python script as a service, and I tried to execute this code (copied from the web) in order to do this. DIR=/usr/...
user avatar
  • 11
0 votes
1 answer
40 views

make a docker container from daemon

I'm using a microservices architecture. I already developed my daemon services (shell script). Now I want to run each of them in a docker container. I am new in docker, so I need some recommendations ...
user avatar
  • 1
1 vote
1 answer
2k views

Starting and stopping systemd services with OnCalendar for a period of time, every day

I have a two services (a video player and an image recognition daemon) that I want to start at 9am and finish running at 23pm every day (as well as on boot, although the system is going to be running ...
user avatar
  • 921
1 vote
1 answer
282 views

Where does Solaris start sshd?

I'm working on a Solaris 11.3 i86pc machine. Solaris ships an ancient version of OpenSSH and SunSSH, and they can only use RSA. I am trying to update OpenSSH. I built and installed a modern version ...
user avatar
  • 11.1k
0 votes
0 answers
35 views

How does an irc daemon like Charybdis work?

I am pretty new to irc, and am poking around in it to try and understand it. I am running CentOS 7 on a VM, and have installed charybdis-4.1.1 and atheme-7.2.10-r2, using this marvellous guide. ...
user avatar
1 vote
1 answer
70 views

Cronjob executed multiple times per minute

I have to maintain a pretty old Linux Server running on SLES 10, kernel 2.6.16 in a VMWare environment. Apart from the fact that it should be updated I have the following problem: I noticed that ...
user avatar
2 votes
1 answer
977 views

/var, /var/log on separate partition fails to umount on shutdown, how to debug

As the title says, I have /var and /var/log on separate partitions. On shutdown, I get the error, that umount /var/log, and later umount /var failed. My question is: How to debug this issue? If ...
user avatar
  • 121
0 votes
1 answer
27 views

Unconfiguring constant relaunch of application

A long time ago I had configured on OSX that if a certain app crashes, it should be restarted directly again. Now, I don't know where I had configured that. And I'd like to unconfigure this. I've ...
user avatar
  • 101
0 votes
2 answers
746 views

Output of the "ps w" command

I am using customized OpenWRT, in which no option works for the ps command except w. When I enter ps w, it’s showing all the running processes, but if I type, for example, ps w | grep kkkk it’s ...
user avatar
  • 11
0 votes
1 answer
89 views

How determine that app start as Linux daemon

I have console app that would start as console and as Linux daemon. How can I determine that app started as Linux daemon (not console)?
user avatar
1 vote
2 answers
252 views

How's responsible for displaying `Starting ... [ ok ]`

When I start a service such as: root@foo [~]# service foobar stop Stopping Foobar: [ OK ] I can see a status indicator: [ OK ] which is different from the ...
user avatar
  • 2,435
1 vote
0 answers
87 views

Run command on startup (Mac), don't understand much

So I'm trying to replicate this similar question but I am lost. I tried creating a launch agent or daemon but neither of them work and I get this error in terminal with this command: Vances-MacBook-...
user avatar
  • 11
0 votes
0 answers
232 views

IPAddressDeny property does NOT block connection to server

I have set the property IPAddressDeny is set to any inside a systemd service unit: [Unit] Description=Sound Service Requires=pulseaudio.socket [Service] # Note that notify will only work if --...
user avatar
  • 101
0 votes
1 answer
67 views

Connect remotely to Dropbox service from a server

I wonder how to authenticate a remote linux server with dropbox daemon installed without X server.
user avatar
  • 141
-1 votes
1 answer
106 views

Service, Daemon, Startup.... What's the right way?

I think I'm having part terminology problem, part just plain newb problem, part tired of reading problem. I've gotten so far on my home energy monitor project, from getting my SDR radio working, ...
user avatar
2 votes
1 answer
942 views

OS X: Agent/Daemon shows up in launchctl list, but cannot find its .plist

I've been having this issue for quite some time now. It doesn't really hurt my workflow, but every time I want to look for something in the console, it gets in the way, since there's the following ...
user avatar
  • 21
1 vote
1 answer
3k views

batch files (.bat)... what does set game=%1% mean? This batch file isn't working correctly

This batch file is supposed to assign a disc image file's path to the variable "game" then mount that image with a program call Daemon Tool's. Then a program called SSF is supposed to load the mounted ...
user avatar
1 vote
2 answers
7k views

deluge-console: Username does not exist

I've set up deluged as a service with systemd to run as user deluge. The daemon works, since I can use the web-ui and connect with deluge-console if I type in credentials manually. However, when I ...
user avatar
  • 497
1 vote
0 answers
109 views

Constructing a service/daemon using runit

I need to make a time syncing service for some SysV-based Linux system, but I want to use Ubuntu as a development environment. For this and some other reasons I've decided to use runit as a universal ...
user avatar
0 votes
0 answers
107 views

script does not execute when running as startup daemon, works fine in command line

I've installed a python package which tracks file changes called when-changed (https://github.com/joh/when-changed). Now the command I want to run is: when-changed /var/www/html/php/logfile.csv /var/...
user avatar
1 vote
1 answer
1k views

No need for export when running functions in subshell

I have a msource.sh script that will be sourced: $ cat msource.sh #!/usr/bin/env sh echo "($BASHPID) - sourced ${BASH_SOURCE[0]}" &>> "$logfile" # logfile is defined by the sourcing ...
user avatar
  • 259
0 votes
1 answer
3k views

Launch GUI programs from background service in Linux

I have written a java program to launch various programs in linux with an attached API. I want this java program to run in the background as my user and start automatically on system boot. I have ...
user avatar
  • 133
0 votes
0 answers
82 views

run daemon on start when scheduled time is missed

I have a daemon/script that runs daily, but I can't find a way to make it run if the computer was off at the scheduled time. Specifically, I'd like: run script/daemon once a day at a X:00 am if ...
user avatar
  • 123
0 votes
1 answer
26 views

Daemon and gui app accessing same data files

I have a daemon that needs access to (read/write) some files that a gui app also has access to (read/write). The daemon runs as root but the gui does not. Each time the daemon accesses the files, ...
user avatar
2 votes
1 answer
233 views

Launch of daemon for subversion server fails, but works in shell

I am trying to setup a subversion server on OS X (Sierra) using the subversion provided with Xcode Server. I followed these instructions for setting up a daemon to automatically start svnserve. My ...
user avatar
  • 360
0 votes
1 answer
351 views

Few questions about OpenWRT and CCMP/TKIP key management

I don't know if I should post this question on Information Security or Network Engineering or ServerFault but I think I'm doing well by posting it here (if I'm not doing well, correct me). I have ...
user avatar
14 votes
2 answers
79k views

cant start systemd - Failed to get D-Bus connection

I am trying to setup a daemon width systemd on Debian. systemd was already a part of the distro.. Have just added a new unit file my-daemon.service under /etc/systemd/system/ but after reboot I get ...
user avatar
  • 389
0 votes
2 answers
554 views

Cannot Start Exim Daemon on Cygwin

I've been unable to start the Exim daemon after installing it in Cygwin on Windows 10. At the end of the exim-config setup, the daemon fails with this message: Do you want to start the exim daemon ...
user avatar
0 votes
1 answer
61 views

Recompiling and restarting a daemon

I am developing a server daemon. I already have a functional version of this server running, but I've now compiled a new version of it. How do I replace the current process with the new one? Can I ...
user avatar
  • 317