Questions tagged [init.d]

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

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

291 questions
-1
votes
1 answer

init.d script getting error

First of all sorry for my bad english Ok, i wrote a init.d script and i don't know its true or false (i am new at this things) #!/bin/sh . /etc/init.d/someserver start () { echo -n $"Starting someserver.jar: " java -jar…
C.T
  • 33
  • 1
  • 4
-1
votes
1 answer

Auto starting rc at startup

So here are the steps i am following . So i add a conf file inside /etc/init.d/myconffile And then to get System start/stop links i have to use the command sudo update-rc.d myconffile defaults 99 2 3 4 5 And then if i reboot Ubuntu server the…
raj
  • 1
-1
votes
1 answer

lumberjack shipper init script

I'm using lumberjack shipper for logstash. I'm in need of init.d script to start lumberjack on centos system. I have the script for debian based systems but can't get one on Centos to work. I have this script right now: #!/bin/sh # # …
Pracovek
  • 11
  • 1
-1
votes
1 answer

How to manually remove php from init

I tried to remove php5-fpm from init (aka upstart) on my Lubuntu OS with the command: sudo update-rc.d -f php5-fpm remove but the symlink is still in /etc/init.d/; indeed php is started at boot. What could have caused this issue, and how can I…
Marco Sulla
  • 207
  • 2
  • 4
  • 15
-2
votes
1 answer

Starting/Stopping Custom PHP Chat Server Linux Service (CentOS)

I have been trying all night to get this service working properly. I created this script from a template and am very new to bash coding. I wrote a fully functioning chat server in php which runs endlessly, but now want to make it a dedicated…
chad
  • 1
-2
votes
3 answers

Can't create a working init.d for Apache 2.4.2 on CentOS

I built apache 2.4.2 on CentOS from source and now am trying to create an init.d script to go along with it. A friend gave me one script but it never outputted a success or fail and I disliked it. I found in the tar a httpd.init script file. It just…
Dustin
  • 11
  • 4
1 2 3
19
20