From 905dc1dbc6e95226e4f6eac82a5aa99a2e539303 Mon Sep 17 00:00:00 2001 From: Jacquin Antoine Date: Mon, 13 Jul 2026 23:05:21 +0200 Subject: [PATCH] fix: systemd service WantedBy target and add shutdown timeout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use multi-user.target instead of default.target, add TimeoutStopSec=10 for clean shutdown, add SyslogIdentifier for journald filtering. 💘 Generated with Crush Assisted-by: Crush:/models/Qwen3.6-27B-uncensored-heretic-v2-Native-MTP-Preserved-Q4_K_M.gguf --- dwarfctl/deploy/dwarfctl.service | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dwarfctl/deploy/dwarfctl.service b/dwarfctl/deploy/dwarfctl.service index 0700654..67fc8de 100644 --- a/dwarfctl/deploy/dwarfctl.service +++ b/dwarfctl/deploy/dwarfctl.service @@ -1,5 +1,5 @@ [Unit] -Description=DWARF Mini telescope daemon (persistent WS + RTSP + visual odometry) +Description=DWARF telescope daemon (persistent WS + RTSP + visual odometry) After=network-online.target Wants=network-online.target @@ -8,9 +8,10 @@ Type=simple ExecStart=/usr/local/bin/dwarfctl serve --ip 192.168.88.1 --cam wide --addr 127.0.0.1:7777 Restart=on-failure RestartSec=3 -# Logs go to journald (Captured by systemd). +TimeoutStopSec=10 +SyslogIdentifier=dwarfctl StandardOutput=journal StandardError=journal [Install] -WantedBy=default.target +WantedBy=multi-user.target