Summary: | ExecStopPre does not seem to work | ||
---|---|---|---|
Product: | systemd | Reporter: | redneb <redneb> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED FIXED | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | example of a service's unit file with ExecStopPre |
I hit this as well. I checked the source in git (src/core/service.c) and see there never was support for an ExecStopPre. Perhaps an intended feature that hasn't been finished yet? There is no ExecStopPre= for service units. Just use multiple ExecStop= instead. The man page was broken indeed, it referenced this field at one place even though it does not exist. Sorry for the confusion. Fixed that now. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 91354 [details] example of a service's unit file with ExecStopPre I created a unit file that includes an ExecStopPre field but systemd does not seem to support that field. Instead it gives the following error message: Unknown lvalue 'ExecStopPre' in section 'Service' Moreover, the documentation seems to be incosistent about it; systemd.service(5) contains some references to it but not a dedicated section for it. I tried this with systemd-208.