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