Dew-OF-Aurora 1 週間 前
コミット
ac9043feb1
1 ファイル変更2 行追加1 行削除
  1. 2 1
      scripts/install_debian.sh

+ 2 - 1
scripts/install_debian.sh

@@ -451,6 +451,7 @@ Wants=network-online.target
 Type=oneshot
 User=${RUN_USER}
 Group=${RUN_GROUP}
+SyslogIdentifier=${SERVICE_NAME}
 WorkingDirectory=${APP_DIR}
 EnvironmentFile=-${ENV_FILE}
 UMask=0077
@@ -495,7 +496,7 @@ log "  Env file: ${ENV_FILE}"
 log ""
 log "Commands:"
 log "  Check status: systemctl status ${SERVICE_NAME}.timer"
-log "  View logs:    journalctl -t ${SERVICE_NAME} -u ${SERVICE_NAME}.service -n 50 --no-pager"
+log "  View logs:    journalctl -u ${SERVICE_NAME}.service -n 50 --no-pager"
 log "  Manual run:   sudo systemctl start ${SERVICE_NAME}.service"
 log "  Force commit: sudo -u ${RUN_USER} /bin/bash ${APP_DIR}/scripts/run_update_and_commit.sh --force-commit ${CONFIG_PATH}"
 log ""