mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-07 17:17:44 +03:00
2a7cf953e1
------------------------------------------------------------------------------- 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. |
||
---|---|---|
.. | ||
_bootctl | ||
_busctl | ||
_coredumpctl | ||
_hostnamectl | ||
_journalctl | ||
_kernel-install | ||
_localectl | ||
_loginctl | ||
_machinectl | ||
_networkctl | ||
_resolvectl | ||
_sd_hosts_or_user_at_host | ||
_sd_machines | ||
_sd_outputmodes | ||
_sd_unit_files | ||
_systemctl.in | ||
_systemd | ||
_systemd-analyze | ||
_systemd-delta | ||
_systemd-inhibit | ||
_systemd-nspawn | ||
_systemd-path | ||
_systemd-run | ||
_systemd-tmpfiles | ||
_timedatectl | ||
_udevadm | ||
meson.build |