mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
consoled: add a unit file
The unit file is statically enabled, but still requires --enable-terminal to actually get installed.
This commit is contained in:
parent
10595afb4c
commit
2355af60dc
11
Makefile.am
11
Makefile.am
@ -250,6 +250,7 @@ SOCKETS_TARGET_WANTS =
|
||||
BUSNAMES_TARGET_WANTS =
|
||||
TIMERS_TARGET_WANTS =
|
||||
USER_SOCKETS_TARGET_WANTS =
|
||||
USER_DEFAULT_TARGET_WANTS =
|
||||
USER_BUSNAMES_TARGET_WANTS =
|
||||
|
||||
SYSTEM_UNIT_ALIASES =
|
||||
@ -270,6 +271,7 @@ install-target-wants-hook:
|
||||
what="$(TIMERS_TARGET_WANTS)" && wants=timers.target && dir=$(systemunitdir) && $(add-wants)
|
||||
what="$(SLICES_TARGET_WANTS)" && wants=slices.target && dir=$(systemunitdir) && $(add-wants)
|
||||
what="$(USER_SOCKETS_TARGET_WANTS)" && wants=sockets.target && dir=$(userunitdir) && $(add-wants)
|
||||
what="$(USER_DEFAULT_TARGET_WANTS)" && wants=default.target && dir=$(userunitdir) && $(add-wants)
|
||||
|
||||
install-busnames-target-wants-hook:
|
||||
what="$(BUSNAMES_TARGET_WANTS)" && wants=busnames.target && dir=$(systemunitdir) && $(add-wants)
|
||||
@ -3035,6 +3037,15 @@ noinst_PROGRAMS += \
|
||||
dist_pkgdata_DATA += \
|
||||
src/libsystemd-terminal/unifont-glyph-array.bin
|
||||
|
||||
nodist_userunit_DATA += \
|
||||
units/user/systemd-consoled.service
|
||||
|
||||
USER_DEFAULT_TARGET_WANTS += \
|
||||
systemd-consoled.service
|
||||
|
||||
EXTRA_DIST += \
|
||||
units/user/systemd-consoled.service.in
|
||||
|
||||
tests += \
|
||||
test-term-page \
|
||||
test-term-parser \
|
||||
|
1
units/user/.gitignore
vendored
1
units/user/.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/systemd-exit.service
|
||||
/systemd-bus-proxyd@.service
|
||||
/systemd-consoled.service
|
||||
|
15
units/user/systemd-consoled.service.in
Normal file
15
units/user/systemd-consoled.service.in
Normal file
@ -0,0 +1,15 @@
|
||||
# This file is part of systemd.
|
||||
#
|
||||
# systemd is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU Lesser General Public License as published by
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=Console Manager and Terminal Emulator
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
Restart=always
|
||||
RestartSec=0
|
||||
ExecStart=@rootlibexecdir@/systemd-consoled
|
Loading…
Reference in New Issue
Block a user