|
|
@@ -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 ""
|