auto-save 2026-05-15 11:45 (~2)

This commit is contained in:
2026-05-15 11:46:03 +08:00
parent 7bf9e0f6d2
commit 23b1def0a8
2 changed files with 15 additions and 13 deletions

View File

@@ -29,6 +29,7 @@ start_api() {
fi
launchctl bootout "$LAUNCHD_DOMAIN" "$API_LABEL" >/dev/null 2>&1 || true
launchctl bootstrap "$LAUNCHD_DOMAIN" "$LAUNCHD_DIR/$API_LABEL.plist"
launchctl kickstart -k "$LAUNCHD_DOMAIN/$API_LABEL"
echo "api started on 4291 via launchd, log: $LOG_DIR/api.launchd.log"
}
@@ -43,6 +44,7 @@ start_web() {
fi
launchctl bootout "$LAUNCHD_DOMAIN" "$WEB_LABEL" >/dev/null 2>&1 || true
launchctl bootstrap "$LAUNCHD_DOMAIN" "$LAUNCHD_DIR/$WEB_LABEL.plist"
launchctl kickstart -k "$LAUNCHD_DOMAIN/$WEB_LABEL"
echo "web started on 4290 via launchd, log: $LOG_DIR/web.launchd.log"
}