Questions tagged [init.d]

The init.d directory contains a number of start/stop scripts for various services on your system.

Everything from acpid to x11-common is controlled from this directory.

256 questions
31
votes
1 answer

uninstall init.d update-rc.d remove

I installed an init.d script with this command: sudo update-rc.d mongodb defaults 98 02 I want to uninstall it, so I'm planning on running: sudo update-rc.d -f mongodb remove I'm concerned about the start and stop conditions in the installation…
anon
10
votes
1 answer

SABnzbdplus will not start on boot but running the init.d script runs fine

I am running the Ubuntu 12.04 server edition (static LAN IP) and was tying to install SABnzbdplus using the apt as per instructions here: Ubuntu PPA Repository Installation has gone smoothly and the server downloads etc no problem! The problem is…
Omar Mir
  • 313
6
votes
2 answers

How to make a script in init.d run later

A package installed /etc/init.d/ccpd which is a script run at start up. I would like this script to be run as very last of all my start up scripts, how can I achieve this?
Peter Smit
  • 7,587
2
votes
2 answers

Why does my init.d script show up under --status-all, but I can't otherwise control it?

I get the following (truncated) output from --status-all $ service --status-all [..] [ - ] ossec [ - ] ossec-hids-authd [..] But I can't access it through service: $ service status ossec-hids-authd status: unrecognized service My init.d…
Kit Sunde
  • 11,096
1
vote
1 answer

need help with Init.d script

I am trying to run a wireshark capture as a daemon. I found this init.d script. http://new.networkprotocolspecialists.com/downloads/tsharkd it works to start dumpcap, but when I try to use sudo /etc/init.d/tsharkd stop I get the…
Bob
  • 11
  • 1
1
vote
0 answers

I'd like to add a pause to a linux service, why doesn't my test work?

I'd like to make mythtv-backend pause before starting, I tried editing /etc/init.d/mythtv-backend, adding a line at start of the file echo "sleeping 100" >> /tmp/sleep_test sleep 100 It never creates this file, and never sleeps before starting the…
phoner
  • 21
  • 3
1
vote
2 answers

Registering an init.d service

Trying to register a service in /etc/init.d, but cannot get it to run with service myservice start and at boot-up Executable file: #!/bin/sh # kFreeBSD do not accept scripts as interpreters, using #!/bin/sh and sourcing. if [ true !=…
axk
  • 111
0
votes
2 answers

Celeryd not running at startup

I ran sudo update-rc.d celeryd defaults All good. I ran: /etc/init.d/celeryd start All good. I restart machine. All bad. sudo /etc/init.d/celeryd status celeryd not running (no pidfile) I'm a noob on linux and I don't even have the first…
jahova
  • 1
  • 1
  • 1
0
votes
1 answer

Not using network-manager and modem-manager

What is the best way to prevent network-manager (and modem-manager for that matter) from starting?
Paul Claessen
  • 111
  • 1
  • 4
-1
votes
1 answer

insserv: warning: script 'S99runlcactivator' missing LSB tags and overrides

I am unable to install a new software or upgrade the existing ones. I have been getting insserv warning (see here) Please help.
AyBee
  • 139