mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2026-08-28 08:56:37 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user