From 957afb9e43caaba74b9bb7370184ab6f4661c101 Mon Sep 17 00:00:00 2001 From: "claude[bot]" <41898282+claude[bot]@users.noreply.github.com> Date: Mon, 22 Dec 2025 13:26:01 +0000 Subject: [PATCH] fix(model): use template variable for binary path in Linux service file Updated shelltime.service to use {{.BaseFolder}}/bin/shelltime-daemon instead of hardcoded /usr/local/bin/shelltime-daemon to match the pattern used in macOS configuration. Fixes #152 Co-authored-by: Le He --- model/sys-desc/shelltime.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/sys-desc/shelltime.service b/model/sys-desc/shelltime.service index e290eeb..5b6752d 100644 --- a/model/sys-desc/shelltime.service +++ b/model/sys-desc/shelltime.service @@ -4,7 +4,7 @@ After=network.target [Service] Type=simple -ExecStart=/bin/sh -c 'exec $(getent passwd $USER | cut -d: -f7) -l -c "/usr/local/bin/shelltime-daemon"' +ExecStart=/bin/sh -c 'exec $(getent passwd $USER | cut -d: -f7) -l -c "{{.BaseFolder}}/bin/shelltime-daemon"' Restart=always # Resource limits