auto restart if anyone crash server or blocked

Code: Select all
#!/bin/sh -e## rc.local## This script is executed at the end of each multiuser runlevel.# Make sure that the script will "exit 0" on success or any other# value on error.## In order to enable or disable this script just change the execution# bits.## By default this script does nothing.cd /root/server directori && ./start exit 0
i type etc/rc.local but wrong what i need do ?laimiukas3 wrote:etc/rc.local
Code: Select all
#!/bin/sh -e## rc.local## This script is executed at the end of each multiuser runlevel.# Make sure that the script will "exit 0" on success or any other# value on error.## In order to enable or disable this script just change the execution# bits.## By default this script does nothing.cd /root/server directori && ./start exit 0
Users browsing this forum: No registered users and 2 guests