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.

5
  • 1
    Wonderful, exactly what I was looking for. Commented May 6, 2016 at 22:34
  • 2
    This option makes commands in ExecReload= run in root privilege. This may not be what you want. Commented Mar 16, 2017 at 8:47
  • @Rockallite that's what the documentation I cited literally says, yes. Commented Mar 18, 2017 at 12:42
  • 3
    PermissionsStartOnly was deprecated. Reference: github.com/NixOS/nixpkgs/issues/53852 How to do that now? Commented Apr 7, 2019 at 6:11
  • 6
    @adrelanos Now, add a + immediately after ExecStartPre=. For example ExecStartPre=+/bin/mkdir test Commented May 29, 2019 at 21:07