The scripts to be executed at boot, usually for starting deamons and mounting file systems.

learn more… | top users | synonyms

0
votes
3answers
101 views

Networking starts up but interface has no IP

I have a box that is supposed to run headless. When I boot and manually run /etc/init.d/networking everything starts fine. When I add it to my startup scripts (/etc/rcS.d) as placed by sysv-rc-conf ...
2
votes
2answers
348 views

How do I determine whether my services are using runit or init?

How do I determine whether my services are using runit or init? I use Ubuntu 10.0.4. Such as nginx, chef, puppet, etc.
1
vote
2answers
162 views

Distro agnostic init script dependencies

I'm trying to write an init script which will be able to handle basic dependencies (for example, It has to be started (just) before MySQL service starts). Is there a distro agnostic way to write such ...
0
votes
2answers
64 views

Run level script - Help

I want the following command to be ran, as soon as system boots. glances -s -P redhat & How to achieve that? I tried writing a run level script which didn't work as expected.
0
votes
2answers
220 views

Jboss application startup and shutdown asks for password. How to automate with init script?

Jboss application startup and shutdown of BMC-IDM asks for password (called keystore password, some Java stuff). How to automate with init script? Stop application > stop_idm_suite.sh Suite ...
3
votes
1answer
81 views

autostarting scripts in debian

I have a service that I install as so: install -m 755 init_script /etc/init.d/spacenavd cd /etc/rc2.d ln -s ../init.d/spacenavd S99spacenavd what the init_script does is start the script: ...
1
vote
1answer
13 views

Migrate socat init script to systemd

I use socat with following init script on debian 7.2 with sysVinit. It works perfectly: #!/bin/bash DESC=socat DAEMON=/usr/bin/socat LIB=/usr/lib/socat SOCAT_ARGS="-d -d -lf /var/log/socat.log" [ ! ...
1
vote
1answer
106 views

hostapd will not start via “service” — but will start directly

I am having trouble getting hostapd to start as a service. It fails when I try to start it: $ sudo service hostapd start [FAIL] Starting advanced IEEE 802.11 management: hostapd failed! From what ...
1
vote
1answer
178 views

Linux Mint: How to enble cryptswap with custom password?

When you want to use hibernation and you care for security, you'd like to have the swap encrypted. But not with the random password, chosen for you at startup, but with a fixed one, supplied by you at ...
1
vote
1answer
71 views

init-scripts in autoyast to autodeploy Suse Linux server

I'm deploying a base SLES11.1 server using autoyast. What I want to achieve is to install some packages on it after the deployment. So I use the init-script in the autoyast control file. Here is the ...
0
votes
1answer
135 views

Init script partially launches java app

I have a java application that I manage to execute by hand. The application normally opens several ports for local communications (7180 => 7183). Port 7182 serves as a web console and allows me to ...
0
votes
1answer
477 views

Converting update-rc.d redis_6379 defaults to chkconfig command

I'm trying to run the commmand below to Centos and of course I get command not found. How do I then convert it to chkconfig ? update-rc.d redis_6379 defaults
1
vote
0answers
275 views

Why does my server not shutdown properly?

When I run $ reboot on my embedded FreeNAS 0.7 (FreeBSD 7.2) it does start the shut down procedure but seemingly hangs. I have registered a command to start a service script which is executed on ...
1
vote
0answers
108 views

Naming process in init scripts

I'm trying to write an init script that will start a service that needs to have started postgresql server before. Bellow is the postgresql's init header: #!/bin/sh # # postgresql This is the init ...
0
votes
0answers
88 views

update-rc.d with shairport v1.0-dev

I've just tried setting up shairport 1.0-dev on the raspberry pi running Raspbian “wheezy” and it works fine when started manually (music plays and is discoverable). I then tried to make it start on ...
0
votes
0answers
25 views

Mezzanine start up script

I am having a world of pain writing a simple start up script for Mezzanine. Running python manager.py runserver just refuses to demonize using start-stop-daemon. Does anyone know of a such a simple ...