mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-28 00:43:57 +00:00
refactor: rename to openclaw
This commit is contained in:
@@ -32,7 +32,7 @@ case "$AUTH_STATUS" in
|
||||
"$SCRIPT_DIR/claude-auth-status.sh" full
|
||||
exit 0
|
||||
;;
|
||||
CLAUDE_EXPIRING|CLAWDBOT_EXPIRING)
|
||||
CLAUDE_EXPIRING|OPENCLAW_EXPIRING|CLAWDBOT_EXPIRING)
|
||||
echo -e "${YELLOW}Auth is expiring soon.${NC}"
|
||||
echo ""
|
||||
;;
|
||||
@@ -69,11 +69,11 @@ if claude setup-token; then
|
||||
echo ""
|
||||
"$SCRIPT_DIR/claude-auth-status.sh" full
|
||||
|
||||
# Restart moltbot service if running
|
||||
if systemctl --user is-active moltbot >/dev/null 2>&1; then
|
||||
# Restart openclaw service if running
|
||||
if systemctl --user is-active openclaw >/dev/null 2>&1; then
|
||||
echo ""
|
||||
echo "Restarting moltbot service..."
|
||||
systemctl --user restart moltbot
|
||||
echo "Restarting openclaw service..."
|
||||
systemctl --user restart openclaw
|
||||
echo -e "${GREEN}Service restarted.${NC}"
|
||||
fi
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user