2020-11-09 12:23:58 +08:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2017-11-19 00:35:03 +08:00
|
|
|
#
|
2010-10-08 05:48:48 +08:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-12 06:20:58 +08: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
|
2010-10-08 05:48:48 +08:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Permit User Sessions
|
2012-06-25 23:34:50 +08:00
|
|
|
Documentation=man:systemd-user-sessions.service(8)
|
2020-08-07 05:33:29 +08:00
|
|
|
After=remote-fs.target nss-user-lookup.target network.target home.mount
|
2010-10-08 05:48:48 +08:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
2021-05-16 17:55:36 +08:00
|
|
|
ExecStart={{ROOTLIBEXECDIR}}/systemd-user-sessions start
|
|
|
|
ExecStop={{ROOTLIBEXECDIR}}/systemd-user-sessions stop
|