1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-07 17:17:44 +03:00
systemd-stable/shell-completion/zsh
Maanya Goenka 2a7cf953e1 systemd-analyze: add --root option for 'verify' verb and allow path parsing
-------------------------------------------------------------------------------
Example Run:

foobar.service created below is a service unit file that has a non-existing key-value
pairing (foo = bar) and is thus, syntactically invalid.

maanya-goenka@debian:~/systemd (img-support)$ cat <<EOF>img/usr/lib/systemd/system/foobar.service
> [Unit]
> foo = bar
>
> [Service]
> ExecStart = /opt/script0.sh
> EOF

The failure to create foobar.service because of the recursive dependency searching and verification has been addressed
in a different PR: systemd-analyze: add option to return an error value when unit verification fails #20233

maanya-goenka@debian:~/systemd (img-support)$ sudo build/systemd-analyze verify --root=img/ foobar.service
/home/maanya-goenka/systemd/img/usr/lib/systemd/system/foobar.service:2: Unknown key name 'foo' in section 'Unit', ignoring.
foobar.service: Failed to create foobar.service/start: Unit sysinit.target not found.
2021-08-10 02:41:12 -07:00
..
_bootctl shell-completion: revert c1072f6473 2021-06-17 14:42:46 +02:00
_busctl shell-completion: revert c1072f6473 2021-06-17 14:42:46 +02:00
_coredumpctl shell-completion: revert c1072f6473 2021-06-17 14:42:46 +02:00
_hostnamectl shell-completion: revert c1072f6473 2021-06-17 14:42:46 +02:00
_journalctl shell-completion: revert c1072f6473 2021-06-17 14:42:46 +02:00
_kernel-install shell-completion: revert c1072f6473 2021-06-17 14:42:46 +02:00
_localectl shell-completion: revert c1072f6473 2021-06-17 14:42:46 +02:00
_loginctl shell-completion: revert c1072f6473 2021-06-17 14:42:46 +02:00
_machinectl shell-completion: revert c1072f6473 2021-06-17 14:42:46 +02:00
_networkctl shell-completion: revert c1072f6473 2021-06-17 14:42:46 +02:00
_resolvectl shell-completion: revert c1072f6473 2021-06-17 14:42:46 +02:00
_sd_hosts_or_user_at_host license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
_sd_machines license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
_sd_outputmodes license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
_sd_unit_files license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
_systemctl.in shell-completion: revert c1072f6473 2021-06-17 14:42:46 +02:00
_systemd shell-completion: revert c1072f6473 2021-06-17 14:42:46 +02:00
_systemd-analyze systemd-analyze: add --root option for 'verify' verb and allow path parsing 2021-08-10 02:41:12 -07:00
_systemd-delta shell-completion: revert c1072f6473 2021-06-17 14:42:46 +02:00
_systemd-inhibit shell-completion: revert c1072f6473 2021-06-17 14:42:46 +02:00
_systemd-nspawn tree-wide: "a" -> "an" 2021-06-30 23:33:00 +09:00
_systemd-path zsh: add systemd-path completions 2020-09-23 10:07:14 +02:00
_systemd-run shell-completion/zsh/_systemd-run: Fix completion of command names and arguments 2021-07-17 22:55:40 +01:00
_systemd-tmpfiles shell-completion: revert c1072f6473 2021-06-17 14:42:46 +02:00
_timedatectl shell-completion: revert c1072f6473 2021-06-17 14:42:46 +02:00
_udevadm shell-completion: revert c1072f6473 2021-06-17 14:42:46 +02:00
meson.build meson: use a/b instead of join_paths(a,b) 2021-07-27 19:32:35 +02:00