a command used to change/query the state of system services during system startup

learn more… | top users | synonyms

1
vote
2answers
395 views

An init-script does not get called on shutdown

I have set up an init-script to control the state of a VirtualBox VM: #!/bin/sh #chkconfig: 35 99 5 #description: vTiger virtual machine ### BEGIN INIT INFO # Provides: vtigervm # Required-Start: ...
2
votes
1answer
705 views

chkconfig bootup script failing, script runs good manually

I recently purchased a vps and I attempted to create a startup/restart script to start up my java program. I am running CentOS 6. The script works if I execute it manually with this command: ...
1
vote
2answers
635 views

Calling a script on machine shutdown [duplicate]

I want to call a script on machine shutdown and restart. I have written code like #! /bin/bash #chkconfig: 0 6 1 1 #description: Description of the script # processname: killfoo # this script starts ...