From 2fbbf6c4c7485d8abdba79c5a5bb56cd8ecff120 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Thu, 22 May 2025 05:12:13 +0900 Subject: [PATCH] unit-def: reindent comments Prompted by dfdeb0b1cbb05a213f0965eedfe0e7ef06cd39d3. --- src/basic/unit-def.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/src/basic/unit-def.h b/src/basic/unit-def.h index 619cf1f32b2..a55b6c3be0b 100644 --- a/src/basic/unit-def.h +++ b/src/basic/unit-def.h @@ -134,19 +134,19 @@ typedef enum ServiceState { SERVICE_START, SERVICE_START_POST, SERVICE_RUNNING, - SERVICE_EXITED, /* Nothing is running anymore, but RemainAfterExit is true hence this is OK */ - SERVICE_RELOAD, /* Reloading via ExecReload= */ - SERVICE_RELOAD_SIGNAL, /* Reloading via SIGHUP requested */ - SERVICE_RELOAD_NOTIFY, /* Waiting for READY=1 after RELOADING=1 notify */ - SERVICE_REFRESH_EXTENSIONS,/* Refreshing extensions for a reload request */ - SERVICE_MOUNTING, /* Performing a live mount into the namespace of the service */ - SERVICE_STOP, /* No STOP_PRE state, instead just register multiple STOP executables */ + SERVICE_EXITED, /* Nothing is running anymore, but RemainAfterExit is true hence this is OK */ + SERVICE_RELOAD, /* Reloading via ExecReload= */ + SERVICE_RELOAD_SIGNAL, /* Reloading via SIGHUP requested */ + SERVICE_RELOAD_NOTIFY, /* Waiting for READY=1 after RELOADING=1 notify */ + SERVICE_REFRESH_EXTENSIONS, /* Refreshing extensions for a reload request */ + SERVICE_MOUNTING, /* Performing a live mount into the namespace of the service */ + SERVICE_STOP, /* No STOP_PRE state, instead just register multiple STOP executables */ SERVICE_STOP_WATCHDOG, SERVICE_STOP_SIGTERM, SERVICE_STOP_SIGKILL, SERVICE_STOP_POST, - SERVICE_FINAL_WATCHDOG, /* In case the STOP_POST executable needs to be aborted. */ - SERVICE_FINAL_SIGTERM, /* In case the STOP_POST executable hangs, we shoot that down, too */ + SERVICE_FINAL_WATCHDOG, /* In case the STOP_POST executable needs to be aborted. */ + SERVICE_FINAL_SIGTERM, /* In case the STOP_POST executable hangs, we shoot that down, too */ SERVICE_FINAL_SIGKILL, SERVICE_FAILED, SERVICE_DEAD_BEFORE_AUTO_RESTART, @@ -285,15 +285,15 @@ typedef enum NotifyAccess { } NotifyAccess; typedef enum JobMode { - JOB_FAIL, /* Fail if a conflicting job is already queued */ - JOB_REPLACE, /* Replace an existing conflicting job */ - JOB_REPLACE_IRREVERSIBLY,/* Like JOB_REPLACE + produce irreversible jobs */ - JOB_ISOLATE, /* Start a unit, and stop all others */ - JOB_FLUSH, /* Flush out all other queued jobs when queueing this one */ - JOB_IGNORE_DEPENDENCIES, /* Ignore both requirement and ordering dependencies */ - JOB_IGNORE_REQUIREMENTS, /* Ignore requirement dependencies */ - JOB_TRIGGERING, /* Adds TRIGGERED_BY dependencies to the same transaction */ - JOB_RESTART_DEPENDENCIES,/* A "start" job for the specified unit becomes "restart" for depending units */ + JOB_FAIL, /* Fail if a conflicting job is already queued */ + JOB_REPLACE, /* Replace an existing conflicting job */ + JOB_REPLACE_IRREVERSIBLY, /* Like JOB_REPLACE + produce irreversible jobs */ + JOB_ISOLATE, /* Start a unit, and stop all others */ + JOB_FLUSH, /* Flush out all other queued jobs when queueing this one */ + JOB_IGNORE_DEPENDENCIES, /* Ignore both requirement and ordering dependencies */ + JOB_IGNORE_REQUIREMENTS, /* Ignore requirement dependencies */ + JOB_TRIGGERING, /* Adds TRIGGERED_BY dependencies to the same transaction */ + JOB_RESTART_DEPENDENCIES, /* A "start" job for the specified unit becomes "restart" for depending units */ _JOB_MODE_MAX, _JOB_MODE_INVALID = -EINVAL, } JobMode; -- 2.47.3