]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-logind.service.in
logind: add infrastructure to keep track of machines, and move to slices
[thirdparty/systemd.git] / units / systemd-logind.service.in
CommitLineData
91f9dcaf
LP
1# This file is part of systemd.
2#
3# systemd is free software; you can redistribute it and/or modify it
5430f7f2
LP
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
91f9dcaf
LP
6# (at your option) any later version.
7
91f9dcaf
LP
8[Unit]
9Description=Login Service
3f612b91 10Documentation=man:systemd-logind.service(8) man:logind.conf(5)
49dbfa7b 11Documentation=http://www.freedesktop.org/wiki/Software/systemd/multiseat
9444b1f2
LP
12Wants=user.slice machine.slice
13After=nss-user-lookup.target user.slice machine.slice
91f9dcaf
LP
14
15[Service]
16ExecStart=@rootlibexecdir@/systemd-logind
454591be 17Restart=always
47ec1184 18RestartSec=0
91f9dcaf 19BusName=org.freedesktop.login1
9c07474c 20CapabilityBoundingSet=CAP_AUDIT_CONTROL CAP_CHOWN CAP_KILL CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_FOWNER CAP_SYS_TTY_CONFIG
f84aea43
LP
21
22# Increase the default a bit in order to allow many simultaneous
23# logins since we keep one fd open per session.
24LimitNOFILE=16384