summaryrefslogtreecommitdiff
path: root/claude/restart-sessions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'claude/restart-sessions.sh')
-rw-r--r--claude/restart-sessions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/claude/restart-sessions.sh b/claude/restart-sessions.sh
index 5f0e1b4..3e1c495 100644
--- a/claude/restart-sessions.sh
+++ b/claude/restart-sessions.sh
@@ -3,4 +3,4 @@ set -e
uid=$(id -u yyamashita)
runuser -u yyamashita -- \
env XDG_RUNTIME_DIR=/run/user/$uid DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$uid/bus \
- bash -c 'systemctl --user list-units --plain --no-legend "claude-code@*.service" | awk "{print \$1}" | xargs -r systemctl --user restart'
+ bash -c 'systemctl --user list-units --plain --no-legend "claude-code@*.service" | awk "{print \$1}" | xargs -r -n1 systemctl --user restart'