1
vote
2answers
386 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
696 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: ...
0
votes
1answer
3k views

Auto-restart an process when it crashes

I have an app that I need to autostart when the OS starts. I am running in a CentOS 6, so I am using a LSB init script placed in /etc/init.d. So far this is fine and working. Now....besides that, ...
0
votes
1answer
598 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