On Fri, 04.07.14 13:50, Alexey Shabalin (a.shaba...@gmail.com) wrote:
>
> 2014-06-01 1:29 GMT+04:00 Thomas H.P. Andersen :
> > From: Thomas Hindoe Paaboel Andersen
> >
> > Reuses logic from service.c and the rc-local generator.
> >
> > Note that this drops reading of chkconfig entirely. It also
2014-07-04 14:20 GMT+04:00 Colin Guthrie :
> 'Twas brillig, and Alexey Shabalin at 04/07/14 10:50 did gyre and gimble:
>> It would be good for me to skip generate unit files for exist native
>> unit files or aliases.
>
> This was always our behaviour before, and I believe this is still the
> intend
'Twas brillig, and Alexey Shabalin at 04/07/14 10:50 did gyre and gimble:
> It would be good for me to skip generate unit files for exist native
> unit files or aliases.
This was always our behaviour before, and I believe this is still the
intended behaviour after Thomas' changes.
Are you saying
2014-06-01 1:29 GMT+04:00 Thomas H.P. Andersen :
> From: Thomas Hindoe Paaboel Andersen
>
> Reuses logic from service.c and the rc-local generator.
>
> Note that this drops reading of chkconfig entirely. It also drops reading
> runlevels from the LSB headers. The runlevels were only used to check
On Tue, Jun 24, 2014 at 7:56 PM, Alexey Shabalin wrote:
> 2014-06-07 3:01 GMT+04:00 Thomas H.P. Andersen :
>> On Fri, Jun 6, 2014 at 4:09 PM, Lennart Poettering
>> wrote:
>>> On Sat, 31.05.14 23:29, Thomas H.P. Andersen (pho...@gmail.com) wrote:
>>>
+
+if (s->sysv_start_priority
2014-06-07 3:01 GMT+04:00 Thomas H.P. Andersen :
> On Fri, Jun 6, 2014 at 4:09 PM, Lennart Poettering
> wrote:
>> On Sat, 31.05.14 23:29, Thomas H.P. Andersen (pho...@gmail.com) wrote:
>>
>>> +
>>> +if (s->sysv_start_priority > 0)
>>> +fprintf(f, "SysVStartPriority=%d\n",
On Fri, Jun 6, 2014 at 4:09 PM, Lennart Poettering
wrote:
> On Sat, 31.05.14 23:29, Thomas H.P. Andersen (pho...@gmail.com) wrote:
>
> Thanks! Awesome work! I am enjoying this!
>
> A few comments:
>
>> +
>> +static int generate_unit_file(SysvStub *s) {
>> +char *unit;
>> +char **p;
On Sat, 31.05.14 23:29, Thomas H.P. Andersen (pho...@gmail.com) wrote:
> +const char *arg_dest = "/tmp";
> +
> +static LookupPaths lp;
> +static Hashmap *all_services;
Small addendum: we try to avoid static vars. WOuld be great to pass the
latter *both* through as params. We just try though, some
On Sat, 31.05.14 23:29, Thomas H.P. Andersen (pho...@gmail.com) wrote:
Thanks! Awesome work! I am enjoying this!
A few comments:
> +
> +static int generate_unit_file(SysvStub *s) {
> +char *unit;
> +char **p;
> +_cleanup_fclose_ FILE *f = NULL;
> +_cleanup_free_ c
From: Thomas Hindoe Paaboel Andersen
Reuses logic from service.c and the rc-local generator.
Note that this drops reading of chkconfig entirely. It also drops reading
runlevels from the LSB headers. The runlevels were only used to check for
runlevels outside of the normal 1-5 range and then add
10 matches
Mail list logo