From: Frank Brehm Date: Thu, 14 Jan 2016 22:42:35 +0000 (+0100) Subject: saving uncommitted changes in /etc prior to emerge run X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=a59e538c9aed7a7e476487e4a7682f87cd30daa0;p=config%2Fbruni%2Fetc.git saving uncommitted changes in /etc prior to emerge run --- diff --git a/dbus-1/system.d/ConsoleKit.conf b/dbus-1/system.d/ConsoleKit.conf index 948f95f0..789da654 100644 --- a/dbus-1/system.d/ConsoleKit.conf +++ b/dbus-1/system.d/ConsoleKit.conf @@ -21,7 +21,7 @@ send_interface="org.freedesktop.ConsoleKit.Seat"/> - + + + + + + + + + + + + diff --git a/init.d/consolekit b/init.d/consolekit index b2022676..e84a2e0c 100755 --- a/init.d/consolekit +++ b/init.d/consolekit @@ -1,26 +1,17 @@ #!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/files/consolekit-0.2.rc,v 1.1 2011/10/20 19:14:47 axs Exp $ +# $Id$ + +description="consolekit - tracks login sessions and seats" +pidfile="/var/run/ConsoleKit/pid" +command="/usr/sbin/console-kit-daemon" depend() { need dbus use logger } -start() { - ebegin "Starting ConsoleKit daemon" - +start_pre() { checkpath -q -d -m 0755 /var/run/ConsoleKit - - start-stop-daemon --start -q \ - --pidfile /var/run/ConsoleKit/pid \ - --exec /usr/sbin/console-kit-daemon -- - eend $? -} - -stop() { - ebegin "Stopping ConsoleKit daemon" - start-stop-daemon --stop -q --pidfile /var/run/ConsoleKit/pid - eend $? } diff --git a/logrotate.d/consolekit b/logrotate.d/consolekit new file mode 100644 index 00000000..6e63e41b --- /dev/null +++ b/logrotate.d/consolekit @@ -0,0 +1,8 @@ +/var/log/ConsoleKit/history { + monthly + rotate 6 + delaycompress + compress + notifempty + missingok +}