summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-12-03 12:52:36 +0100
committerLars Wendler <polynomial-c@gentoo.org>2021-12-03 12:54:49 +0100
commitba311ecca29333b688b1b5b9fe9725b77b9e5a88 (patch)
tree913e7c451c0c37f775575b7e02420aa3efff247f /sys-apps/sysvinit/files
parentapp-office/libreoffice-bin: Drop 7.1.5.2 (diff)
downloadgentoo-ba311ecca29333b688b1b5b9fe9725b77b9e5a88.tar.gz
gentoo-ba311ecca29333b688b1b5b9fe9725b77b9e5a88.tar.bz2
gentoo-ba311ecca29333b688b1b5b9fe9725b77b9e5a88.zip
sys-apps/sysvinit: Revbump so users can customize bootlogd startup
Thanks-to: Bogdan <bogdan.pylypenko107@gmail.com> Closes: https://bugs.gentoo.org/828061 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-apps/sysvinit/files')
-rw-r--r--sys-apps/sysvinit/files/bootlogd.confd2
-rw-r--r--sys-apps/sysvinit/files/bootlogd.initd4
2 files changed, 4 insertions, 2 deletions
diff --git a/sys-apps/sysvinit/files/bootlogd.confd b/sys-apps/sysvinit/files/bootlogd.confd
new file mode 100644
index 000000000000..ac456db6ecf7
--- /dev/null
+++ b/sys-apps/sysvinit/files/bootlogd.confd
@@ -0,0 +1,2 @@
+# Put your bootlog options into this
+#BOOTLOGD_ARGS="-l /var/log/boot"
diff --git a/sys-apps/sysvinit/files/bootlogd.initd b/sys-apps/sysvinit/files/bootlogd.initd
index a42219271a80..ef238c13922b 100644
--- a/sys-apps/sysvinit/files/bootlogd.initd
+++ b/sys-apps/sysvinit/files/bootlogd.initd
@@ -1,8 +1,8 @@
#!/sbin/openrc-run
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
description="bootlogd - record boot messages (sysvinit)"
pidfile="/run/bootlogd"
command="/sbin/bootlogd"
-command_args="-p ${pidfile}"
+command_args="-p ${pidfile} ${BOOTLOGD_ARGS}"