Skip to content

SystemD

systemd

Usage

Changing directory

In a unit.service file:

[service]
WorkingDirectory=[path]

unix-stackexchange

Setting a start timeout

TimoutStartSec=

Setting a dealy before restarting

RestartSec=

Debug

Service unit dependency error

Instead of using Requires= try using Wants= so that systemd won't fail and retries if configured to do so.