diff options
author | Chris Simons <35010457+simons-public@users.noreply.github.com> | 2023-12-27 23:09:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-27 23:09:42 +0100 |
commit | 9ef362bf3d16d9929045c2f64af9e7dd9357dbb0 (patch) | |
tree | 733d589ad5a2ad4a2cb7931afaf63f2bfd0f8385 /src/machine | |
parent | network/address: unconditionally check if address is ready (diff) | |
download | systemd-9ef362bf3d16d9929045c2f64af9e7dd9357dbb0.tar.xz systemd-9ef362bf3d16d9929045c2f64af9e7dd9357dbb0.zip |
machinectl: add `restart` convenience alias (#30625)
Diffstat (limited to 'src/machine')
-rw-r--r-- | src/machine/machinectl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c index 4089ed2c75..e1bc932443 100644 --- a/src/machine/machinectl.c +++ b/src/machine/machinectl.c @@ -2945,6 +2945,7 @@ static int machinectl_main(int argc, char *argv[], sd_bus *bus) { { "show-image", VERB_ANY, VERB_ANY, 0, show_image }, { "terminate", 2, VERB_ANY, 0, terminate_machine }, { "reboot", 2, VERB_ANY, 0, reboot_machine }, + { "restart", 2, VERB_ANY, 0, reboot_machine }, /* Convenience alias */ { "poweroff", 2, VERB_ANY, 0, poweroff_machine }, { "stop", 2, VERB_ANY, 0, poweroff_machine }, /* Convenience alias */ { "kill", 2, VERB_ANY, 0, kill_machine }, |