upstart configuration
Garrett Cooper
yanegomi at gmail.com
Sat Nov 8 13:20:16 GMT 2008
On Thu, Nov 6, 2008 at 7:05 AM, Harald Hoyer <harald at redhat.com> wrote:
> Scott James Remnant wrote:
>> On Thu, 2008-11-06 at 15:35 +0100, Harald Hoyer wrote:
>>
>>> in the process of migrating Fedora/Red Hat Linux to upstart I came across
>>> several issues.
>>>
>>> With the current implementation I see the following problems:
>>> - the job description files are very static. Dependencies can only be added,
>>> modified, deleted by modifying this one job file (not package friendly)
>>>
>> This is an ongoing discussion: what ideas do you have?
>>
>>> - there is no dependency like "start me before service xyz"
>>>
>> 0.3/0.5:
>> start on starting syz
>> ~~~
>
> which really starts syz only if the other job is started?
>
> like:
>
> network:
> start on starting ldap-client
> start on starting mount-nfs-filesystems
>
>
>>
>>> - turning a job/service off requires removing the job file, which may be solved
>>> by symlinks?
>>>
>> Again an ongoing discussion: what ideas do you have?
>>
>> Do you want to disable it from automatic starting, or prevent manual
>> starting as well?
>
> both
>
>
> Ideas:
> - an ugly file/symlinks based database (simplest for package installation)
> - include files which only define the dependencies, which are configured by
> chkconfig like tools.
You might want to look into Gentoo's rc-update system for this logic.
-Garrett
More information about the upstart-devel
mailing list