mirror of
https://github.com/systemd/systemd.git
synced 2024-12-20 07:33:41 +08:00
18 lines
501 B
SYSTEMD
18 lines
501 B
SYSTEMD
# 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
|
|
Documentation=man:systemd-suspend.service(8)
|
|
DefaultDependencies=no
|
|
Requires=sleep.target
|
|
After=sleep.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=@rootlibexecdir@/systemd-sleep suspend
|