diff options
author | Alan Jenkins <alan.christopher.jenkins@gmail.com> | 2017-08-09 14:43:41 +0100 |
---|---|---|
committer | Alan Jenkins <alan.christopher.jenkins@gmail.com> | 2017-08-09 18:51:46 +0100 |
commit | 858beb391b9af1570f65ebd21b9e41af057550c2 (patch) | |
tree | 1fb71b5a586277aedd7ce418be9af278b546f96d /units/console-getty.service.m4.in | |
parent | 8522ee7975fea189e7cdaec3ace6db6e3559128a (diff) | |
download | systemd-858beb391b9af1570f65ebd21b9e41af057550c2.tar.gz |
units/console-getty.service: comment reason for ConditionPathExists
Currently we have 4 getty services. 1 has a BindsTo dependency on a
device unit. 3 have ConditionPathExists, but the reason is different in
every single one.
* Add comment to console-getty@.service (see commit 1b41981d)
* getty@.service is already commented
* container-getty.service is not strictly correct, as I realized while
trying to compose a comment. Reported as #6584.
Diffstat (limited to 'units/console-getty.service.m4.in')
-rw-r--r-- | units/console-getty.service.m4.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/units/console-getty.service.m4.in b/units/console-getty.service.m4.in index ecf1db1102..8b6a4aba24 100644 --- a/units/console-getty.service.m4.in +++ b/units/console-getty.service.m4.in @@ -9,12 +9,14 @@ Description=Console Getty Documentation=man:agetty(8) man:systemd-getty-generator(8) After=systemd-user-sessions.service plymouth-quit-wait.service -ConditionPathExists=/dev/console m4_ifdef(`HAVE_SYSV_COMPAT', After=rc-local.service )m4_dnl Before=getty.target +# OCI containers may be run without a console +ConditionPathExists=/dev/console + [Service] # The '-o' option value tells agetty to replace 'login' arguments with an # option to preserve environment (-p), followed by '--' for safety, and then |