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

learn more… | top users | synonyms

1
vote
1answer
728 views

unix:///var/run/supervisor.sock no such file

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 ...
1
vote
2answers
4k views

OS X - How to get simple launchd daemon working on Yosemite and El Capitan

I am no stranger to launchd on OS X. I've created several daemons in the past, last with Mountain Lion Mavericks. However, I seem to be struggling to get the most simplest of plists working on ...
1
vote
1answer
115 views

How to daemonize a bash script only if --daemon flag is given?

I have my script.sh and want to run it with ./script.sh or ./script.sh --daemon, having it remain in the foreground unless the --daemon flag is given, in which case it should detach and go into the ...
1
vote
0answers
176 views

Can I use /etc/init/ on Debian Wheezy to manage a daemon process?

I want to run a PHP daemon process and found a solution at Stackoverflow but unfortunately its not working. Now I thought Upstart is not installed since Debian still uses System V. I have two ...
1
vote
2answers
2k views

How to start FatRat HTTP server daemon in console?

I'm new to Linux and I would like to setup a simple download server on my RaspberryPi. I installed FatRat via: apt-get update apt-get install fatrat Since I'm not using a GUI on RaspberryPi, I ...
1
vote
1answer
657 views

Weird start-stop-daemon behaviour?

I have the following script: #!/usr/bin/python3 import sys for s in sys.argv: print(s) Now I execute: sudo start-stop-daemon --start --pidfile /var/run/test.pid --make-pidfile /var/run/test....
1
vote
0answers
225 views

How to kill buffers when quitting a client frame in emacs daemon

I'm using emacs as a daemon on OSX ML. When I close an instance emacsclient -t, I'd like emacs to kill all the buffers I've opened within the instance of emacsclient. Doing C-x C-c or C-x 5 0 does ...
1
vote
1answer
258 views

How can I reboot system using Upstart?

I'm using Upstart on Ubuntu 12.04 to control and monitor a service defined by me, where the service is a user process running as a daemon. I need to monitor it so, when it fails/crashes it respawns, ...
1
vote
0answers
827 views

using screen with start-stop-daemon, sysv

I'm trying to run a program with an ncurse interface as a daemon using screen. I want to use start-stop-daemon to manage the process, but I'm having trouble creating a SysV init script. Variables: ...
1
vote
1answer
117 views

Creating a Daemon based sftp client

If i were to build an sftp client which launched with logon details, and could then controlled by sending commands to that daemon; would that be ideal way to create an sftp client with disposable ...
1
vote
1answer
1k views

linux: monitor logfile for a string and execute script

I want to monitor a logfile (syslog) on my linux debian box. So if there is a new entry with a secific string, i want to execute a script. The strings are "alarm start" and "alarm end" So it should ...
0
votes
4answers
1k views

Program freeware - reminder that blinks a message on a computer screen

Do you know a freeware program - reminder that blinks a message on a computer screen and can be scheduled for a certain time, let's say the hour when you may quit your work place and go home? ...
0
votes
2answers
557 views

How to launch a daemon as root in OS X

I put my plist in /Library/LaunchAgents and my exexutive program in /usr/libexec and daemon statrs when system startup . But this daemon is owned by user . I try to put my plist in /Library/...
0
votes
2answers
453 views

How can I find out what IRC Daemon a certain server is running?

To get an overview on IRC, I wanted to find out what kind of IRC server software/daemon (like unrealircd) runs on a certain server. Is there a possibility to get this information?
0
votes
2answers
327 views

Cross-platform daemon/service stop and start

Is there a tool which can control daemons/services in a cross-platform manner? In programming there are different build tools that allow you to build software from source on different platforms; the ...
0
votes
2answers
1k views

How to run app on startup as different user?

I have MineCraft server, and I need run it every time I start Debian. I solved it, but it always run as root. I need it run as normal user.
0
votes
2answers
2k views

How to make daemon starts automatically? Ubuntu server 12.04

I have nginx and postgresql daemons installed. How can make them start automatically every time server is started? I think to add sudo service nginx start sudo service postgresql start to ~/....
0
votes
2answers
718 views

Daemon <||> Process control differences

With respect to this excellent post: http://stackoverflow.com/questions/958249/whats-the-difference-between-nohup-and-a-daemon I would like to ask the following: After launching an application from ...
0
votes
2answers
2k views

Can't start MySQL to reset root password

I've installed mysql-server on a Linux box and forgot (oops) the root password. Having looked around the internet, the general method is so: Stop MySQL (sudo service mysql stop) Start MySQL in ...
0
votes
1answer
511 views

Logstash agent doesn't run as a daemon on MAC OS X 10.9.1

I need to run the logstash agent as a Daemon on an MAC OS X System whenever the system boots up terminal: /usr/local/logstash/bin/logstash agent -f /usr/local/etc/cvlog.conf Per terminal the ...
0
votes
1answer
307 views

init.d service doesn't start

I have installed ushareand want to start is with booting. sudo service ushare startworks, and there is a link to start ushare in /etc/rc2.d (and also rc3, rc4, rc5) and there are stop links in other ...
0
votes
1answer
131 views

SMTP listeners on a workstation?

I'm working on a Debian 7.30 (x64) workstation. I noticed I have a couple of SMTP listeners: $ netstat -A inet,inet6 --listening | grep -i smtp tcp 0 0 localhost:smtp *:* ...
0
votes
1answer
140 views

Killing daemon and closing port without ability to use 'lsof'

I have an application that spits out the time when it is requested from a client. I don't have permissions to use port 13, so I put it on a really high-numbered port. Now I can't kill that port, and I ...
0
votes
1answer
4k views

Excessive resource usage from /usr/sbin/atd?

I've been getting excessive resource usage notification from ConfigServerFirewall about this. Is it safe to disable /usr/sbin/atd, or should I just let it be and ignore it?
0
votes
1answer
71 views

Looking for cache daemon [closed]

I'm looking for a daemon that I can install on my Debian server, and can be controlled through PHP (preferably with included libraries). It must have a basic key-value cache, BUT it must never ever ...
0
votes
1answer
772 views

How can I relax the X security constraints for the jenkins daemon?

It works fine on the commandline, when I do xhost + su - jenkins emulator -avd myAVD.avd but emulator -avd myAVD.avd executed by jenkins daemon fails with "SDL init failure: No ...
0
votes
1answer
296 views

How to allow password protected start-stop-daemon functionality?

I would like to use Ubuntu's start-stop-daemon to start my application, but the application protects some sensitive information, so I have a mechanism where the application prompts for a password that'...
0
votes
0answers
16 views

transmission-daemon.serviceJob for transmission-daemon.service failed

I followed an italian guide (http://maxtrixnix.blogspot.it/2013/08/raspberry-pi-come-installare-e.html) to set Transmission on Raspberry Pi and I get the error: Reloading transmission-daemon ...
0
votes
0answers
12 views

OpenVPN Access Server will not Start on System Boot

I have installed OpenVPN Access Server on my computer running Fedora 23 using the instructions from this YouTube video. I have been able to install the server on the machine with no problem, and it ...
0
votes
1answer
36 views

LaunchAgent has undesired root access

I am having a problem getting my LaunchAgent to run as a normal (not-root) user. Everything I've read implies this should be the default behavior. The expectation is that if you put the plist in /...
0
votes
0answers
23 views

How to find on which port the TFTP server is running?

How to find remotely on which port the TFTP server is running on FreeBSD? The standard UDP port 69 is not listed amongst open ports when scan FreeBSD server with IP scanner.
0
votes
0answers
13 views

daemon script on windows

I need to have a script that watches a certain ftp folder, and whenever it sees any files in it, perform some operations on it. I was thinking of using a simple script, like power shell and make sure ...
0
votes
1answer
45 views

daemon /etc/init.d/ error when run as daemon but script works fine from command line

It errors when run from /etc/init.d sudo /etc/init.d/openconnect start * Starting open connect xxx.somedomain.com openconnect start-stop-daemon: unable to start /usr/local/bin/op_connect.sh (Exec ...
0
votes
0answers
26 views

public key authentication not working with “ssh/sftp Daemon” on android

I can sftp to my android device using password. However i can not set up this using public key auth. $ ssh -vvv root@192.168.1.10 SSHD Server debug1: Authentications that can continue: publickey,...
0
votes
0answers
16 views

Perform Background Tasks in Low Power Mode - Possible?

Is there a way to schedule low power background activities to be performed while a computer is idle, sleeping, or even powered off? Until recently I would have thought the answer was unconditionally "...
0
votes
1answer
19 views

How can I enable arbitrary users to edit files in '/opt' sub-tree?

I am user 'somebody'. I have a typical "Web blob" website ecosystem ( essentially an FS sub-tree starting at Apache's typical "htdocs" directory ). Its files are owned by 'root', and grouped to '...
0
votes
1answer
35 views

bash: show names of background jobs in the bash prompt

It would be cool if the bash prompt can be used a a mini task bar. Can the bash prompt (PS1) show the names of the jobs listed in the jobs command?
0
votes
1answer
522 views

Start a systemd user service at boot

I am trying to start a systemd service for a specific user (service name/goal is not relevant). I do that because I need to have a per user process of an application running at startup. Here is what ...
0
votes
0answers
145 views

How to stop mongodb version 2.4 and start version 3?

I've got an Ubuntu 14.04 server on which I have mongodb installed using the regular sudo apt-get install mongodb, which installed version 2.4 That ran fine, but I wanted to use some new functionality ...
0
votes
0answers
63 views

emacs --daemon doesn't successfully start the server

I am attempting to set up a systemd daemon for emacs in NixOS. When I added a systemd unit, I noticed that it was continually restarting over and over again. I discovered that this was because when I ...
0
votes
0answers
36 views

Location of xscreensaver daemon?

I'm hoping someone can help me find the location of the xscreensaver daemon so I can put that into my start-up apps instead of the stupid work-around I did with xscreensaver-demo. I have read and ...
0
votes
0answers
219 views

Stop the Launch Daemon ftp.plist from being loaded on startup / login

For some reason, and I'm not sure this applies to every Mac / Yosemite user, ftp.plist gets loaded when I log in. If I run this in terminal when I first log in: $ sudo launchctl load /System/Library/...
0
votes
0answers
24 views

Do Unix-based Systems retain Daemons or Hardware Information post-Reboot?

Background: I dual-boot Mac OSX Yosemite and Ubuntu 15.04 on a Macbook Pro Retina with rEFInd boot loader. I have a customized daemon for controlling the fans on Ubuntu, the reason being that I have ...
0
votes
2answers
20 views

Service com.apple.quickook doesn't stop from restarting

Running Mac OS X 10.2.2 in MacBookPro model MacBookPro11,2. I'm having this issue that I could find using console application: A daemon named com.apple.quicklook deosn't stop from restarting after 0 ...
0
votes
2answers
277 views

Does anyone know what “discoverd” daemon is?

Saw this process running in Activity Monitor. Not sure what it does...anyone seen this before? Tried searching for list of "normal" mac os daemons but most lists are incomplete. Have not found any ...
0
votes
0answers
76 views

Customize mailer-daemon error messages in LAMP

I need to customize bounce and error messages sent from MAILER-DAEMON in a LAMP environment. Instead of the standard message From: Mailer-Daemon@xxxxxx.co.uk To: johndoe@hotmail.com ...
0
votes
1answer
949 views

how can I run a java application as daemon?

I use to run an application in CentOS with the command nohup java -jar AnalyticsBackend.jar & Now I want to run this application as daemon i.e. on reboot, this application shoud start running ...
0
votes
0answers
21 views

How can I queue a script to run the next time a system is up and connected to the internet?

I'm using mailsend (on a Mac) to send mail from the command line. I'd like to set this up such that I can execute a send command, but if my system is disconnected from the internet, that command is ...
0
votes
1answer
543 views

OpenVPN server issues

I am unable to connect to my OpenVPN server running on latest ArchLinux version, the port seems open if I scan from the outside, so im pretty sure its correctly forwarded, however the client displays "...
0
votes
1answer
86 views

Debian: daemon program quits immediately when run as jenkins user

I'm trying to run an IRC bot as a daemon using daemon (also tried with the daemonize utility), I use the following command to run it, daemon --name=HsIRCb --chdir=/var/lib/jenkins/jobs/HsIRCb/...