Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [rc.d]

The tag has no usage guidance.

6
votes
2answers
515 views

What is the FreeBSD equivalent of Linux update-rc.d?

In linux I can easily add a service or disable it from startup using the update-rc.d command. I am trying to create a toggle-able service and I don't wan't to go into sed to manually edit the /etc/rc....
1
vote
1answer
4k views

Windows Subsystem for Linux is unable to determine current runlevel

Issue Many apt-get installs are failing b/c the system can't determine current runlevel Background specs: $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: ...
1
vote
1answer
889 views

update-rc.d ignoring sequence numbers

I'm trying to set up my system so that the emacs daemon starts after the machine boots. I've created the file /etc/init.d with the commands I want executed, but when execute update-rc.d, it ignores ...
1
vote
1answer
48 views

starting application in rc.d causes terminal to freeze

I have a application which uses stdin and stdout. I wish this application to start running as soon as possible after all the background daemons are running. I am using openwrt on an embedded system, ...
0
votes
1answer
33 views

linux program not running at boot time

I have a few scripts: collection.sh start.sh script1.sh and script2.sh. I have these set up to run at boot time so that: collection.sh calls start.sh start.sh calls both script?.sh collection is ...
6
votes
2answers
412 views

Why vim does not recognize new runlevel7 in inittab?

Mainly for test purpose, I wish to modify /etc/inittab and add a new runlevel to my system (/etc/rc7.d). I have not save my modification yet, because I'm confused by Vim behavior. Indeed, the editor ...
1
vote
1answer
3k views

How can I fix “insserv: There is a loop between service mountnfs and nfs-common if started” in Debian wheezy?

I'm working on a Debian wheezy x64 box, with dist-upgrade to: Debian 7.7 (wheezy) 64-bit kernel Linux 3.2.0-4-amd64 It's configured with Linux RAID10, dm-crypt/LUKS and LVM. I've installed ...
2
votes
1answer
2k views

Writing a simple rc.d script in FreeBSD

I would like to run the ELK stack in a FreeBSD Jail on an FreeNAS host. I have a hard time to get an simple init/rc.d script to work. #!/bin/sh . /etc/rc.subr name=logstash rcvar=logstash_enable ...