[PATCH] init: add systemd-settings-*
Anton Midyukov
antohami at altlinux.org
Mon Aug 12 15:28:28 MSK 2019
See-also: https://lists.altlinux.org/pipermail/devel-distro/2019-July/001710.html
---
features.in/init/config.mk | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/features.in/init/config.mk b/features.in/init/config.mk
index c3b7f9a07..edee166c7 100644
--- a/features.in/init/config.mk
+++ b/features.in/init/config.mk
@@ -46,3 +46,19 @@ use/init/systemd/debug: use/init/systemd use/services
# set multi-user target by default
use/init/systemd/multiuser: use/init/systemd
@$(call add,STAGE2_BOOTARGS,systemd.unit=multi-user.target)
+
+# set global TTYPath=/dev/tty12 for forward logs
+use/init/systemd/log-to-tty12: use/init/systemd
+ @$(call add,THE_PACKAGES,systemd-settings-enable-log-to-tty12)
+
+# disable dumpcore
+use/init/systemd/disable-dumpcore: use/init/systemd
+ @$(call add,THE_PACKAGES,systemd-settings-disable-dumpcore)
+
+# enable show status for quit
+use/init/systemd/enable-showstatus: use/init/systemd
+ @$(call add,THE_PACKAGES,systemd-settings-enable-showstatus)
+
+# optimal settings for systemd
+use/init/systemd/settings: use/init/systemd/log-to-tty12 \
+ use/init/systemd/disable-dumpcore use/init/systemd/enable-showstatus; @:
--
2.21.0
--------------4569AF234F5246926D0C16FF--
More information about the devel-distro
mailing list