From 964538c7c6ebc90c2f024e163edf39e85fe05c00 Mon Sep 17 00:00:00 2001 From: "claude[bot]" <41898282+claude[bot]@users.noreply.github.com> Date: Mon, 6 Oct 2025 12:14:32 +0000 Subject: [PATCH] fix(daemon): replace hardcoded username with $USER in systemd service 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 21357bf..e290eeb 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 username | cut -d: -f7) -l -c "/usr/local/bin/shelltime-daemon"' +ExecStart=/bin/sh -c 'exec $(getent passwd $USER | cut -d: -f7) -l -c "/usr/local/bin/shelltime-daemon"' Restart=always # Resource limits