/etc/inittab respawn daemon entry
Omon Edeki (Nowell, Inc)
omon.edeki at nowellgroup.com
Tue Dec 9 14:22:54 GMT 2008
Also I am using upstart 0.3.9
----- Original Message -----
From: "Omon Edeki (Nowell, Inc)" <omon.edeki at nowellgroup.com>
To: "Garrett Cooper" <yanegomi at gmail.com>
Cc: <upstart-devel at lists.ubuntu.com>
Sent: Tuesday, December 09, 2008 8:14 AM
Subject: Re: /etc/inittab respawn daemon entry
> Greetings again. Here is the content of my file called 'syncjenius_win'
> I placed in the /etc/event.d directory (Is this the right directory?) on
> Fedora 10
> # cyclone
> # This service is started automatically by init
> description "cyclone daemon"
> author "Nowell, Inc"
> start on startup
> start on runlevel 2
> start on runlevel 3
> start on runlevel 4
> start on runlevel 5
> stop on runlevel 0
> stop on runlevel 1
> stop on runlevel 6
> exec /etc/spyforce/cyclone
> -The program does start on boot (good)
> -We ran a test to see if will actually restart if terminated.
> - When you send the /etc/spyforce/cyclone the kill signal it DOES NOT
> -We want it such that if for any reason the program is stopped or
> it MUST restart as it was in earlier versions of linux when we used
> Please if anyone can help Ill appreciate it. Also am I placing my file in
> the right directory? Currently I have it placed in /etc/event.d
> ----- Original Message -----
> From: "Garrett Cooper" <yanegomi at gmail.com>
> To: "Omon Edeki (Nowell, Inc)" <omon.edeki at nowellgroup.com>
> Cc: <upstart-devel at lists.ubuntu.com>
> Sent: Monday, December 08, 2008 10:17 PM
> Subject: Re: /etc/inittab respawn daemon entry
>> On Mon, Dec 8, 2008 at 6:24 PM, Omon Edeki (Nowell, Inc)
>> <omon.edeki at nowellgroup.com> wrote:
>>> Greetings everyone,
>>> I have a SPECIFIC question. We are migrating our server application
>>> daemon/service from an earlier version on Linux to Fedora 10. Fedora 10
>>> appears to use a program called upstart.
>>> Our older program used the /etc/inittab to bootup and it had this entry
>>> Essentially when the system booted up, the program cyclone would run and
>>> it every died or was killed, init would seamlessly restart it.
>>> My question is how exactly do I replicate this process with the upstart
>>> design for Fedora 10? Also I tried entering some commands in a file in
>>> Fedora 10 /etc/event.d directory. I created a file and tried but I could
>>> replicate the formed init respawn process. Can I get some advice or
>>> documentation about specifically how to do this?
>> 1. F10 comes with Upstart 0.3.9. Not sure when they'll be able to
>> upgrade to 0.5.0
>> 2. If you were using 0.5.0, you'd do something like the following:
>> # Start me when rc[2-5] startup.
>> start on started rc2 rc3 rc4 rc5
>> # Bring me back to life if I die!
>> # Let me rest in peace if I die
>> respawn limit 2 10
>> exec /etc/spyforce/cyclone
>> Some documentation to peruse (again, for 0.5.0 -- not 0.3.9):
>> http://upstart.ubuntu.com/wiki/Stanzas . Make sure to hit the kill and
>> normal exit stanzas as well.
> upstart-devel mailing list
> upstart-devel at lists.ubuntu.com
> Modify settings or unsubscribe at:
More information about the upstart-devel