X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemctl.xml;h=d842b787e37ff9199266d2730aea3b5bf06e1a35;hb=3f41e1e5955552a771748225334b3e8a7eb02b8a;hp=e789d4b629a39ed6833a3c46e2b577421c124f19;hpb=3fde5f30bda2a70d97f3dc8fa918e42e1c07cc2c;p=elogind.git diff --git a/man/systemctl.xml b/man/systemctl.xml index e789d4b62..d842b787e 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -63,6 +63,19 @@ along with systemd; If not, see . introspect and control the state of the systemd1 system and service manager. + + For unit commands, the NAME represents full name of the unit. + +systemctl start foo.service + + For unit file commands, the NAME represents the full name of the unit file, or the absolute path to the unit file. + +systemctl start /path/to/foo.service + + While working with services/service files, systemctl implicitly appends the ".service" suffix when it is missing. + +systemctl start foo + @@ -444,21 +457,20 @@ along with systemd; If not, see . - Execute operation remotely. Specify a hostname, or - username and hostname separated by @, to connect to. This - will use SSH to talk to the remote systemd + Execute the operation remotely. Specify a hostname, or + username and hostname separated by @, to + connect to. This will use SSH to talk to the remote systemd instance. - - + + - - Acquire privileges via PolicyKit before executing the - operation. - + Execute the operation on a local + container. Specify a container name to connect + to. @@ -831,7 +843,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service Depending on whether , , , - or, is specified, this enables the unit + or is specified, this enables the unit for the system, for the calling user only, for only this boot of the system, or for all future logins of all users, or only this boot. Note that in the last case, no systemd daemon @@ -861,7 +873,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service This command honors , - , , + , and in a similar way as enable. @@ -921,7 +933,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service disable, since it prohibits all kinds of activation of the unit, including manual activation. Use this option with care. This honors the - option, to only mask temporarily + option to only mask temporarily until the next reoobt of the system. @@ -1166,7 +1178,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service - reboot + reboot arg Shut down and reboot the system. This is mostly @@ -1179,6 +1191,16 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service specified twice, the operation is immediately executed without terminating any processes or unmounting any file systems. This may result in data loss. + + If the optional argument + arg is given, it will be passed + as the optional argument to the + reboot2 + system call. The value is architecture and firmware + specific. As an example, recovery might + be used to trigger system recovery, and + fota might be used to trigger a + firmware over the air update.