On Mon, 27.06.11 17:37, Ludwig Nussel ([email protected]) wrote:

> Frederic Crozat wrote:
> > [...]
> > %service_add_enabled()
> > if [ "$1" -eq 1 ] ; then 
> > # Initial installation
> > /bin/systemctl enable %{1}.service >/dev/null 2>&1 || :
> > fi
> 
> Does this have an advantage over installing the symlink at build
> time already and including the symlink in %files instead?

It doesnt right now. But it might eventually: it might be useful to send
out notification events via the bus when a new service is enabled, to
allow live views in UIs.

Lennart

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

Reply via email to