[CentOS] Help with bash script
Les Mikesell
lesmikesell at gmail.comFri Jun 16 12:44:29 UTC 2006
- Previous message: [CentOS] Help with bash script
- Next message: [CentOS] Help with bash script
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 2006-06-16 at 06:39, Fajar Priyanto wrote: > Hi all, > Can someone pls help me on how to make this bash script? > I want to monitor a process, and then when the process (for some reason) dies, > the script will start the process again. If you want it to happen at the system level, look at a 'respawn' entry in /etc/inittab. In a shell script, you can use ':' to mean forever in a while target: while : do yourprogram done -- Les Mikesell lesmikesell at gmail.com
- Previous message: [CentOS] Help with bash script
- Next message: [CentOS] Help with bash script
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list