Skip to main content

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".

50 votes
9 answers
139k views

How to automatically restart a linux background process if it fails?

I have a process which is executed by init.d script on the background. Eg: case "$1" in start) /bin/myprocess & stop) killall myprocess restart) killall ...
Honza's user avatar
  • 603
37 votes
4 answers
18k 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, ...
Caeleste's user avatar
  • 831
15 votes
2 answers
100k 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 ...
clarkk's user avatar
  • 439
28 votes
3 answers
89k views

How do I prevent Linux services from auto-starting?

I have recently migrated from Windows to Linux (xubuntu) I am a developer and have installed everything I need, LAMP. In Windows I used to turn off all unnecessary services - I don't need the Apache ...
Aviv's user avatar
  • 770
12 votes
8 answers
32k views

The '/var/run/supervisor.sock' file is not being created when I use Supervisord

I'm running Supervisord on my Ubuntu 14.04 server and everything works fine. I deploy using a git push and upon deployment I also need to restart my application server (gunicorn) which I can ...
kramer65's user avatar
  • 1,424
8 votes
4 answers
23k views

Remote deluge daemon connection

I'm trying to follow this guide to run a deluge daemon on a headless server. The client part seems to be working, but the server part doesn't seem to work at all. Deluge-console is supposed to allow ...
Adam R. Grey's user avatar
5 votes
1 answer
12k views

start ddclient as daemon with systemd

I'm trying to start ddclient as daemon in my Ubuntu 15.04, which now uses systemd, but was unable to even following the Ubuntu wiki at https://help.ubuntu.com/community/DynamicDNS to words. I've ...
xpt's user avatar
  • 8,851
4 votes
3 answers
5k views

need a bittorrent daemon

I'm building a Ubuntu server for the house. I want to centralize torrents. what I'm looking for is something that runs as a service (daemon) that has 3 folders to configure. Actively downloading ...
scphantm's user avatar
  • 173
4 votes
1 answer
12k views

User Permissions: Daemon and User

I often run into this issue on Linux, and I'd love to know the proper way of solving it. Say I have a daemon running. In my example, I'll use LigHTTPD, a webserver. Some software, like Wordpress, ...
Eddie Parker's user avatar
  • 2,964
1 vote
1 answer
2k 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 ...
kaligne's user avatar
  • 269
1 vote
1 answer
1k views

How to keep two local hard drives in sync on Linux?

I have an old hard drive and basically clone it to a new hard drive using Grsync or Timeshift. Because the older hard drive is likelier to fail, I'd like to use the newer one as my in-use hard drive ...
mYnDstrEAm's user avatar
0 votes
1 answer
4k 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 ...
Jimmy's user avatar
  • 133
0 votes
1 answer
117 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.
utopman's user avatar
  • 171