systemd script for starting my app server - Unknown lvalue 'StartLimitIntervalSec' in section 'Unit'

Solution 1:

You are likely comparing systemd docs you've read online for a different version instead using the docs on your system that match your version.

Check man systemd.unit on your own system. You may find that on your version, the directive is named

StartLimitInterval= and should be used [Service], not [Unit].

I found the answer by searching for systemd StartLimitIntervalSec.