2011-06-17 00:15:02 +02:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-12 00:20:58 +02:00
|
|
|
# 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
|
2011-06-17 00:15:02 +02:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Login Service
|
2012-07-19 12:46:55 +02:00
|
|
|
Documentation=man:systemd-logind.service(8) man:logind.conf(5)
|
2013-07-19 03:49:07 +02:00
|
|
|
Documentation=http://www.freedesktop.org/wiki/Software/systemd/logind
|
2012-05-21 15:12:18 +02:00
|
|
|
Documentation=http://www.freedesktop.org/wiki/Software/systemd/multiseat
|
2013-07-02 03:47:23 +02:00
|
|
|
Wants=user.slice
|
|
|
|
After=nss-user-lookup.target user.slice
|
2011-06-17 00:15:02 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
ExecStart=@rootlibexecdir@/systemd-logind
|
2012-06-28 12:13:52 +02:00
|
|
|
Restart=always
|
2012-07-18 02:31:52 +02:00
|
|
|
RestartSec=0
|
2011-06-17 00:15:02 +02:00
|
|
|
BusName=org.freedesktop.login1
|
2013-10-01 17:59:44 +02:00
|
|
|
CapabilityBoundingSet=CAP_SYS_ADMIN CAP_AUDIT_CONTROL CAP_CHOWN CAP_KILL CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_FOWNER CAP_SYS_TTY_CONFIG
|
2013-12-11 18:14:52 +01:00
|
|
|
WatchdogSec=1min
|
2011-10-11 04:43:29 +02:00
|
|
|
|
|
|
|
# Increase the default a bit in order to allow many simultaneous
|
|
|
|
# logins since we keep one fd open per session.
|
|
|
|
LimitNOFILE=16384
|