4

I have a systemd service and some ExecStartPost scripts. Sometimes these scripts may take a long time. While these scripts are executing, service is in "activating" state. Is there any way to set an activation timeout? E.g. if service is activating more than a minute, restart the service.

Any sugestions? Thanks in advance!

1 Answer 1

3

TimeoutStartSec parameter of systemd service Unit solves the problem

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .