fix: pos systemd units stop fast — TimeoutStopSec=5s everywhere, listener TERM traps; drop dead pos-health/pos-entertainment unit docs

This commit is contained in:
Your Name
2026-08-13 13:16:58 +00:00
parent 8b0ce3ba89
commit d9316ec7f7
15 changed files with 82 additions and 67 deletions
+1
View File
@@ -8,6 +8,7 @@ Type=simple
ExecStart=/usr/local/bin/autostart.sh
Restart=on-failure
RestartSec=10
TimeoutStopSec=5s
[Install]
WantedBy=multi-user.target
+1
View File
@@ -9,6 +9,7 @@ ExecStart=/usr/bin/ssh-agent -D -a /run/ssh-agent/socket
ExecStartPost=/bin/sh -c 'chmod 666 /run/ssh-agent/socket'
ExecStopPost=/bin/sh -c 'rm -f /run/ssh-agent/socket'
Restart=on-failure
TimeoutStopSec=5s
[Install]
WantedBy=multi-user.target
+1
View File
@@ -5,6 +5,7 @@ After=local-fs.target
[Service]
Type=oneshot
ExecStart=/usr/local/bin/usb-automount.sh
TimeoutStopSec=5s
[Install]
WantedBy=multi-user.target