summaryrefslogtreecommitdiff
path: root/units/suspend-then-hibernate.target
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@dell.com>2018-03-28 11:00:06 -0500
committerMario Limonciello <mario.limonciello@dell.com>2018-03-28 15:11:10 -0500
commite68c79db912f8ea7ae6614113d15c81aa8866601 (patch)
tree97db92d5b8a071575af152cc4b0407dade5430c5 /units/suspend-then-hibernate.target
parent9d9dd746d461e4524fb3644b20b8138448d666f2 (diff)
downloadsystemd-e68c79db912f8ea7ae6614113d15c81aa8866601.tar.gz
Rename suspend-to-hibernate to suspend-then-hibernate
Per some discussion with Gnome folks, they would prefer this name as it's more descriptive of what's happening.
Diffstat (limited to 'units/suspend-then-hibernate.target')
-rw-r--r--units/suspend-then-hibernate.target16
1 files changed, 16 insertions, 0 deletions
diff --git a/units/suspend-then-hibernate.target b/units/suspend-then-hibernate.target
new file mode 100644
index 0000000000..8c45510095
--- /dev/null
+++ b/units/suspend-then-hibernate.target
@@ -0,0 +1,16 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
+# 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; Idle into hibernate
+Documentation=man:systemd.special(7)
+DefaultDependencies=no
+Requires=systemd-suspend-then-hibernate.service
+After=systemd-suspend-then-hibernate.service
+StopWhenUnneeded=yes