fix(stirling-pdf): remove broken ExecStop using %n

ExecStop=/bin/kill -15 %n expands %n to the unit name, not a PID, so
/bin/kill fails to parse it and logs a spurious status=1/FAILURE on
every stop/restart. Type=simple already sends SIGTERM to the main PID
and SuccessExitStatus=143 makes that a graceful stop, so the line is
redundant and broken. Fixes #16807
This commit is contained in:
Michel Roegl-Brunner
2026-08-27 10:26:25 +02:00
parent 31328336f8
commit 05b0de3f73
-1
View File
@@ -147,7 +147,6 @@ Group=root
EnvironmentFile=/opt/Stirling-PDF/.env
WorkingDirectory=/opt/Stirling-PDF
ExecStart=/usr/bin/java -jar Stirling-PDF.jar
ExecStop=/bin/kill -15 %n
Restart=always
RestartSec=10