[systemd-devel] Restart and RestartSec in packaged .service files

"Jóhann B. Guðmundsson" johannbg at gmail.com
Thu Sep 1 04:06:28 PDT 2011


On 09/01/2011 10:02 AM, Mathieu Bridon wrote:
> Let's say you want to add Restart=always to foobar.service, waht you'd
> do is:
>    1. edit /etc/systemd/system/foobar.service (to overwrite the /lib one)
>    2. write this in the file:
>        .include /lib/systemd/system/foobar.service
>        Restart=always

I think this needs to be be cleaned up a bit and introduced as 
Include=/path/to/unit ( as opposed to have .include /path/to/unit ) and 
man pages updated accordingly.

But maybe I'm just nitpicking here =)

JBG


More information about the systemd-devel mailing list