Re: Packaging postinstall handles
Le jeudi 14 août 2014 à 15:12 +0200, Mathieu Slabbinck a écrit :
> The background process is placed under /etc/xdg/autostart/ so it
> launcher at user login.
> 1) automatically reload udev rules after installation.
This is automatic. You don’t have anything to do.
> 2) kickstart the background process after installation.
A package should never do anything directly to a running session. As for
any rule, there are exceptions such as mechanisms to signal a reload,
but even those are workarounds. You should never launch anything in the
user session. Once your launcher is installed in /etc/xdg/autostart, the
job is done.
--
.''`. Josselin Mouette
: :' :
`. `'
`-
Reply to: