mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 19:21:53 +03:00
34e9ba669e
In contrast to the other service types oneshot services are usually not long lasting and there's not necessarily a single clean main process for them. This change allows multiple ExecStart= lines for this type of services so that the admin/developer doesn't have to arbitrarily pick on of various sequential commands as the "main one".
12 lines
214 B
Desktop File
12 lines
214 B
Desktop File
[Meta]
|
|
Description=Permission Enforcement checker
|
|
|
|
[Service]
|
|
ExecStart=/usr/bin/id
|
|
ExecStartPost=/usr/bin/env
|
|
ExecStartPost=/bin/sleep 5
|
|
Type=oneshot
|
|
Capabilities=all= cap_dac_override=eip
|
|
User=nobody
|
|
Group=nobody
|