Bram Moolenaar wrote the following on 24.03.2011 21:54

resending on list.

-- <snip> --

>> Tanks for the quickly respons. Though i think it can again made more useful.
>> Imagine root has to examine the 'user-jobs' of users foo, bar and baz.
>> In that (not so uncommon case) root would be more happy with:
>>
>> +" Upstart (init(8)) config files
>> +au BufNewFile,BufRead */etc/init/*.conf,*/.init/*.conf          setf upstart
>>                                          ^
>> +au BufNewFile,BufRead */etc/init/*.override,*/.init/*.override  setf upstart
>>                                              ^
>>
>> Those changes have been tested here. Thank you.
> 
> I can't find information about using the ".init" directory.
> Do you have a pointer?  I would like to find out what the usage is.

I think itæ„€ an upstart feature:
http://manpages.ubuntu.com/manpages/natty/en/man5/init.5.html


,----[ man init(5) ]---------------------------

User Jobs
       A User Job is a job configuration file created by a non-privileged user
       in   the  $HOME/.init/  directory.  Job  configuration  files  in  this
       directory have the same syntax as system job configuration files.

       Any user can create user jobs, but that user can control only jobs they
       create.

       Users  are  able  to  manage  their  jobs using the standard initctl(8)
       facility.

       Note that a user job configuration file cannot have the same name as  a
       system job configuration file.


`---------------------------------------------



-- 
bye Thilo

4096R/0xC70B1A8F
721B 1BA0 095C 1ABA 3FC6  7C18 89A4 A2A0 C70B 1A8F


-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui