From cd6d0a456bc9c45fa79316fc5896e4a3ae75a30b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 11 Aug 2010 04:38:55 +0200 Subject: utmp: enable systemd-update-utmp by default --- units/systemd-update-utmp-runlevel.service.in | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 units/systemd-update-utmp-runlevel.service.in (limited to 'units/systemd-update-utmp-runlevel.service.in') diff --git a/units/systemd-update-utmp-runlevel.service.in b/units/systemd-update-utmp-runlevel.service.in new file mode 100644 index 0000000000..9b7677f3a1 --- /dev/null +++ b/units/systemd-update-utmp-runlevel.service.in @@ -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 General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +[Unit] +Description=Notify Audit System and Update UTMP about System Runlevel Changes +DefaultDependencies=no +After=runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target auditd.service + +[Service] +Type=finish +ExecStart=-@rootlibexecdir@/systemd-update-utmp runlevel -- cgit v1.2.3-54-g00ecf