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.

2
  • Nothing stopping you from running systemctl stop myservice && sleep 3 && systemctl start myservice Commented Jul 11, 2016 at 11:17
  • 1
    Why is that strange? It's a design feature to leave you alone to work around real world issues. Inject the sleep in your Unit start or use an ExecPre condition to ensure the old instance is fully gone. Commented Dec 9, 2016 at 15:53