Commit Graph

5 Commits

Author SHA1 Message Date
Michael Biebl
ec74429dbe getty-static.service: Skip if dbus-broker is installed
Check for the binary in /usr/bin as this makes it easier to move the
service files from /lib/systemd to /usr/lib/systemd.
2020-12-26 13:33:06 +01:00
Michael Biebl
8c0b1a1856 init-functions, getty-static.service: Don't hard-code path to systemctl binary
This should simplify an eventual move of systemctl from /bin to
/usr/bin.
2020-12-26 13:24:58 +01:00
Topi Miettinen
32c0a18d2b
Delete empty lines at end of file
Upstream commit hooks don't allow empty lines and of course they serve no
purpose.

Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
2020-05-16 11:25:10 +03:00
Michael Biebl
89b4cb17a3 getty-static.service: Only start if we have a working VC subsystem
Use ConditionPathExists=/dev/tty0, the same check as in getty@.service,
to determine whether we have a functional VC subsystem and we should
start any gettys.

Closes: #824779
2016-07-20 16:30:59 +02:00
Martin Pitt
7ea24cda5e Move all Debian specific units in the systemd package into debian/extra/units/
Simplify debian/systemd.install accordingly. This makes it easier to see where
the .d/ drop-ins go to.
2015-02-16 15:24:36 +01:00