2017-11-19 00:35:03 +08:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1+
|
|
|
|
#
|
2012-05-05 08:06:58 +08:00
|
|
|
# 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=Suspend
|
2012-06-26 23:33:11 +08:00
|
|
|
Documentation=man:systemd-suspend.service(8)
|
2012-05-05 08:06:58 +08:00
|
|
|
DefaultDependencies=no
|
|
|
|
Requires=sleep.target
|
|
|
|
After=sleep.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
ExecStart=@rootlibexecdir@/systemd-sleep suspend
|