[systemd-devel] [HEADS-UP] Packaging systemd

Kay Sievers kay.sievers at vrfy.org
Thu Jun 24 23:01:42 PDT 2010


On Fri, Jun 25, 2010 at 03:14, Michael Biebl <mbiebl at gmail.com> wrote:
> 2010/6/25 Kay Sievers <kay.sievers at vrfy.org>:
>>
>> and converted udev init scripts to native systemd configurations to
>> place into /lib/systemd/system/ are here:
>>  http://people.freedesktop.org/~kay/systemd/
>
> Looking at the udev.service file, I noticed:
> [Service]
> Type=notify
> ExecStart=/sbin/udevd
> ExecStartPost=/sbin/udevadm trigger --type=subsystems --action=add
> ExecStartPost=/sbin/udevadm trigger --type=devices --action=add
>
>
> That duplicate ExecStartPost, is that a bug or intentional? If the
> latter, what is the order in which those commands are run?
> Is it possible to run other Exec* commands, like ExecStart= in
> parallel/multiple times?

You can have multiple Pre and Post lines. They are executed in order
they listed.

Having multiple ExecStart don't make much sense, I guess, as they
would be difficult to superwise, and should be separate services then.

Kay


More information about the systemd-devel mailing list