Questions tagged [rc.d]
23 questions
0
votes
1 answer
How to stop httpd and mysqld from starting automatically when booting Fedora 27?
In the olden days, when I don't want mysqld and httpd to start by default when booting my Fedora Linux, I simply go to /etc/rc?.d (where ? is a number from 0 to 6, depending on the running level chosen) and then change the Kxxhttpd and Kyymysqld to…

GreenPenguin
- 3
- 2
0
votes
1 answer
Folder /etc/rc.d was removed from Synology NAS
I was installing the Syncrify package when I created a file to place it in the /etc/rc.d directory, guiding by the following tutorial:
http://web.synametrics.com/syncrifyfreenas.htm
But, when I tried to copy the file... I overwrited the directory…

Loreno
- 3
- 1
- 3
0
votes
2 answers
FreeBSD rc.d scripts do not return to proper shell
My interesting problem is that when running some rc.d scripts they do not actually drop back to the root shell, but leave me at an intermediate shell as the user they're supposed to be running as.
A side effect is that the desired service doesn't…

Josh W.
- 121
- 6
0
votes
7 answers
Why isn't my shell script executing on startup
I'd like my openSuse 11.1 server to run a small shell script on startup. I've created a the script and put a symbolic link to the script in /etc/init.d/rc5.d/. Yet, the script does not get executed.
This is the script I am trying to…

Adrian Grigore
- 1,072
- 3
- 21
- 34
0
votes
1 answer
FreeBSD: Cant stop program started by rc.d ("is not running")
I've created a rc script to start gunicorn as a daemon on boot.
#!/bin/sh
# PROVIDE: gunicorn_appleclue
# REQUIRE: DAEMON
.…

Victor Ribeiro
- 161
- 1
- 6
0
votes
1 answer
"service my_service stop" is deemed an error whenever a service is in the "stopped" condition already. How to move on despite an error?
I have a bunch of bash commands that are run via ssh:
#!/bin/bash
CMD="
set -e
cmd1
cmd2
# ........
service my_service stop
# .........
# some commands here......
# .........
service my_service start
"
ssh -t -A -q -C…

karneliy
- 21
- 1
- 5
0
votes
1 answer
does RedHat EL6 uses systemd?
Does EL6 uses systemd?
OS DETAILS here
Linux version 2.6.32-642.11.1.el6.x86_64 (mockbuild@x86-027.build.eng.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) ) SMP Wed Oct 26 10:25:23 EDT 2016
Please answer with regard to I have…
0
votes
1 answer
I have deleted /etc/rc.d/ dirs, how can I restore them?
I have accidentally deleted /etc/rc.d and /etc/rc0.d folders which resulted deletion of init.d and other related folders.
1.What is the use of /etc/rc.d, rc, rc.d, rc0.d, rc1.d, rc2.d.......rc6.d and other files inside /etc/rc.d?
2.If we…