Skip to content

Commit 2610348

Browse files
authored
Merge pull request #133 from shelltime/claude/issue-132-20251006-1213
fix(daemon): replace hardcoded username with $USER in systemd service
2 parents 7c7a68c + 964538c commit 2610348

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

model/sys-desc/shelltime.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ After=network.target
44

55
[Service]
66
Type=simple
7-
ExecStart=/bin/sh -c 'exec $(getent passwd username | cut -d: -f7) -l -c "/usr/local/bin/shelltime-daemon"'
7+
ExecStart=/bin/sh -c 'exec $(getent passwd $USER | cut -d: -f7) -l -c "/usr/local/bin/shelltime-daemon"'
88
Restart=always
99

1010
# Resource limits

0 commit comments

Comments
 (0)