Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 1
    Surely it can use ExecStartPre, just move binary into ExecStart. What goes wrong? Commented Aug 26, 2017 at 13:47
  • Does this mean it is not possible with systemd and necessarily require a shell script (bash or other) ? Commented Aug 26, 2017 at 14:45
  • @Zulgrib As usual there are several possibilities. I have added another to my answer. Commented Aug 26, 2017 at 15:22
  • You can use ExecStartPre (since it's not sleeping forever) ... methinks... Commented Jul 9, 2019 at 17:26
  • check_and_wait.target:6: Unknown key name 'RemainAfterExit' in section 'Unit', ignoring. check_and_wait.target:3: Unknown key name 'TimeoutStartSec' in section 'Unit', ignoring. check_and_wait.target:5: Unknown key name 'ExecStart' in section 'Unit', ignoring. Commented Mar 26 at 11:36