chiark / gitweb /
udevd: sort into sysinit instead of basic target
[elogind.git] / units / systemd-logind.service.in
1 #  This file is part of systemd.
2 #
3 #  systemd is free software; you can redistribute it and/or modify it
4 #  under the terms of the GNU Lesser General Public License as published by
5 #  the Free Software Foundation; either version 2.1 of the License, or
6 #  (at your option) any later version.
7
8 [Unit]
9 Description=Login Service
10 Documentation=man:systemd-logind.service(8) man:logind.conf(5)
11 Documentation=http://www.freedesktop.org/wiki/Software/systemd/multiseat
12 After=nss-user-lookup.target
13
14 [Service]
15 ExecStart=@rootlibexecdir@/systemd-logind
16 Restart=always
17 RestartSec=0
18 BusName=org.freedesktop.login1
19 CapabilityBoundingSet=CAP_AUDIT_CONTROL CAP_CHOWN CAP_KILL CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_FOWNER CAP_SYS_TTY_CONFIG
20
21 # Increase the default a bit in order to allow many simultaneous
22 # logins since we keep one fd open per session.
23 LimitNOFILE=16384