summaryrefslogtreecommitdiff
path: root/units/user@.service.in
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2017-08-09 22:13:41 +0900
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-08-09 09:13:41 -0400
commit4429c69f8da0c9ea892541a50d5c5f4ac1b42767 (patch)
treeab0d2fe30d403936fe309adc9848c93e1c192bdf /units/user@.service.in
parentc7f6ca9379279affa8f22d15fa13063491f86a49 (diff)
downloadsystemd-4429c69f8da0c9ea892541a50d5c5f4ac1b42767.tar.gz
units: do not perform m4 if not necessary (#6575)
Diffstat (limited to 'units/user@.service.in')
-rw-r--r--units/user@.service.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/units/user@.service.in b/units/user@.service.in
new file mode 100644
index 0000000000..1beb901db8
--- /dev/null
+++ b/units/user@.service.in
@@ -0,0 +1,21 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# 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
+# (at your option) any later version.
+
+[Unit]
+Description=User Manager for UID %i
+After=systemd-user-sessions.service
+
+[Service]
+User=%i
+PAMName=systemd-user
+Type=notify
+ExecStart=-@rootlibexecdir@/systemd --user
+Slice=user-%i.slice
+KillMode=mixed
+Delegate=yes
+TasksMax=infinity
+TimeoutStopSec=120s