On Wed, 08.09.10 11:24, Gustavo Sverzut Barbieri ([email protected]) 
wrote:

> Hi all,
> 
> Seems that sysvinit provides INIT_VERSION=sysvinit-1234 to its spawned
> processes and tools like /sbin/halt check for it to just then check
> for $RUNLEVEL so I wonder if we should provide this in systemd
> automatically or I should change my .service units to provide them
> with Environment=INIT_VERSION=sysvinit-1234

I think the latter is nicer. After all we aren't sysvinit, so I'd prefer
not to claim we were in the C sources. Also note that at least in the
Fedora shutdown scripts we already set RUNLEVEL=0 via the Environment=
option, so if INIT_VERSION is necessary it probably makes sense to place
it in Environment= too.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to