summaryrefslogtreecommitdiff
path: root/units/getty@.service.m4
diff options
context:
space:
mode:
authorMichal Sekletar <msekletar@users.noreply.github.com>2017-08-31 11:20:14 +0200
committerLennart Poettering <lennart@poettering.net>2017-08-31 11:20:14 +0200
commit175902541852fb9207f6e532d8da48c9a102340c (patch)
tree24a84c33af7e73ebef71209e49ca9859d51f24fb /units/getty@.service.m4
parentef965ed2e123ea408ae78fd47594285d18550af6 (diff)
downloadsystemd-175902541852fb9207f6e532d8da48c9a102340c.tar.gz
units: introduce getty-pre.target (#6667)
This new target is a passive unit, hence it is supposed to be pulled in to the transaction by the service that wants to block login on the console (e.g. text version of initial-setup). Now both getty and serial-getty are ordered after this target. https://lists.freedesktop.org/archives/systemd-devel/2015-July/033754.html
Diffstat (limited to 'units/getty@.service.m4')
-rw-r--r--units/getty@.service.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/units/getty@.service.m4 b/units/getty@.service.m4
index 2a84061ed6..b62f1b9225 100644
--- a/units/getty@.service.m4
+++ b/units/getty@.service.m4
@@ -9,7 +9,7 @@
Description=Getty on %I
Documentation=man:agetty(8) man:systemd-getty-generator(8)
Documentation=http://0pointer.de/blog/projects/serial-console.html
-After=systemd-user-sessions.service plymouth-quit-wait.service
+After=systemd-user-sessions.service plymouth-quit-wait.service getty-pre.target
m4_ifdef(`HAVE_SYSV_COMPAT',
After=rc-local.service
)m4_dnl