]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
unit-def: reindent comments 37558/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 21 May 2025 20:12:13 +0000 (05:12 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 21 May 2025 20:15:08 +0000 (05:15 +0900)
Prompted by dfdeb0b1cbb05a213f0965eedfe0e7ef06cd39d3.

src/basic/unit-def.h

index 619cf1f32b21a925038e176969d87b890f288de8..a55b6c3be0bed96a19465d96da0baa159f879c46 100644 (file)
@@ -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;