summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Soltys <soltys@ziu.info>2016-07-27 00:57:01 +0200
committerMichal Soltys <soltys@ziu.info>2016-07-27 00:57:01 +0200
commit8125e8d38e3aa099c7dce8b0161997b8842aebdc (patch)
treeac363eb644f6628ed9b1f4a2512d0677032a1ea4
parenteb22d84b47f16bedb60824b441900715fd79841d (diff)
vconsole: Don't do static installation under sysinit.target
Udev rules cover all the necessary initializations. As the service now is neither installed, nor installable - we can remove explicit dependencies and RemainAfterExit=yes option.
-rw-r--r--Makefile.am3
-rw-r--r--units/systemd-vconsole-setup.service.in3
2 files changed, 0 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am
index c9fb4917ad..7535b505fb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4628,9 +4628,6 @@ nodist_udevrules_DATA += \
nodist_systemunit_DATA += \
units/systemd-vconsole-setup.service
-
-SYSINIT_TARGET_WANTS += \
- systemd-vconsole-setup.service
endif
EXTRA_DIST += \
diff --git a/units/systemd-vconsole-setup.service.in b/units/systemd-vconsole-setup.service.in
index 6160361871..2bd1fd1a5d 100644
--- a/units/systemd-vconsole-setup.service.in
+++ b/units/systemd-vconsole-setup.service.in
@@ -9,11 +9,8 @@
Description=Setup Virtual Console
Documentation=man:systemd-vconsole-setup.service(8) man:vconsole.conf(5)
DefaultDependencies=no
-Conflicts=shutdown.target
-Before=sysinit.target shutdown.target
ConditionPathExists=/dev/tty0
[Service]
Type=oneshot
-RemainAfterExit=yes
ExecStart=@rootlibexecdir@/systemd-vconsole-setup