Questions tagged [start-stop-daemon]
25 questions
1
vote
2 answers
start-stop-daemon can't find executable that's right in front of it
root@mountain-lion:/opt/smartfox# ls -lha
total 180K
drwxr-xr-x 8 root root 4.0K 2012-06-01 14:09 .
drwxr-xr-x 4 root root 4.0K 2012-06-01 09:41 ..
drwxr-xr-x 8 root root 4.0K 2009-05-17 21:57 lib
lrwxrwxrwx 1 root root 22 2012-06-01 09:41 logs ->…

Bart van Heukelom
- 1,199
- 6
- 21
- 41
1
vote
1 answer
start-stop-daemon: command not found . This error only occurs at boot time in a cron job
I have scheduled an @reboot cron job to start a service in /etc/init.d
After boot, service is not started when I reach shell command line. The contents of /var/log/cron show the following,
2022-09-27T17:16:03.913135-04:00 mtcap CROND[2147]: (root)…

Ksenia Semenova
- 51
- 3
0
votes
1 answer
systemd cannot restart service file
I have written a bash script which I want to run every 60s
(don't worry, I have tried the Script out, it runs perfectly).
Now I wanted to implement it in systemd .service file, but so far it doesn't restart. The script is beeing executed one time…

hans2020dieter
- 59
- 4
0
votes
1 answer
What does '-- --daemon' mean in start-stop-daemon?
On this man page for start-stop-daemon, there is an example:
start-stop-daemon --start --oknodo --user food --name food --pidfile \
/var/run/food.pid --startas /usr/sbin/food --chuid food -- --daemon
Can anyone explain what the last couple…

ᴇʟᴇvᴀтᴇ
- 103
- 3
0
votes
0 answers
upstart fail to run service and not able to debug
I am using os-svc-daemon to create my upstart service for openstack project.
my upstart job config is as below
File : /etc/init/myservice.conf
start on runlevel [2345]
stop on runlevel [016]
env OS_SVC_ENABLE_CONTROL=1
export…

Nilesh
- 255
- 1
- 6
- 18
0
votes
1 answer
change java process name
I am trying to change a java process name using the start-stop-daemon.
When running the process without the daemon I simply add to the script: "exec -a kuku"
And the java process name in the proc file is changed to kuku.
I read about the…

vivi
- 1
- 1
- 2
0
votes
1 answer
install CouchDB without a package manager
I have the ability to shell into a Linux (RHEL6) server, and manage mostly everything, but I don't have root user abilities, so I can't use YUM or any of the available package managers on the box. Due to some red tape, I've been told if I can get…

Brian Vanderbusch
- 109
- 7
0
votes
1 answer
How to pass environment to start-stop-daemon based nginx init script
I am using Nginx with Passenger to serve a Rails app. I have hit a strange problem where NginX is not reading the environment variables that the app needs when started normally by the init script. I am using this script:…

i0n
- 283
- 1
- 3
- 8
0
votes
3 answers
Updating start-stop-daemon on Debian
I have Debian Lenny box, where I plan to extensively use start-stop-daemon. The trouble is, the standard Debian start-stop-daemon doesn't support output redirection: --stdout and --stderr keys, which I want to use to log daemons activity.
Should I…

Kuroki Kaze
- 345
- 2
- 5
- 18
0
votes
5 answers
mysql replication stop/start causes duplicate rows
We're using pretty simple MASTER->SLAVE MySQL query-based replication.
Every midnight a cron script on the slave stops the replication SQL_THREAD, backs up the slaves databases with mysqldump and then restarts the replication SQL_THREAD.
After…

myk00
- 73
- 6