diff options
author | Mario Limonciello <mario.limonciello@dell.com> | 2018-03-28 11:00:06 -0500 |
---|---|---|
committer | Mario Limonciello <mario.limonciello@dell.com> | 2018-03-28 15:11:10 -0500 |
commit | e68c79db912f8ea7ae6614113d15c81aa8866601 (patch) | |
tree | 97db92d5b8a071575af152cc4b0407dade5430c5 /units | |
parent | 9d9dd746d461e4524fb3644b20b8138448d666f2 (diff) | |
download | systemd-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')
-rw-r--r-- | units/meson.build | 4 | ||||
-rw-r--r-- | units/suspend-then-hibernate.target (renamed from units/suspend-to-hibernate.target) | 4 | ||||
-rw-r--r-- | units/systemd-suspend-then-hibernate.service.in (renamed from units/systemd-suspend-to-hibernate.service.in) | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/units/meson.build b/units/meson.build index 7977d07690..344c7d235e 100644 --- a/units/meson.build +++ b/units/meson.build @@ -36,7 +36,7 @@ units = [ ['halt.target', ''], ['hibernate.target', 'ENABLE_HIBERNATE'], ['hybrid-sleep.target', 'ENABLE_HIBERNATE'], - ['suspend-to-hibernate.target', 'ENABLE_HIBERNATE'], + ['suspend-then-hibernate.target', 'ENABLE_HIBERNATE'], ['initrd-fs.target', ''], ['initrd-root-device.target', ''], ['initrd-root-fs.target', ''], @@ -156,7 +156,7 @@ in_units = [ ['systemd-hibernate-resume@.service', 'ENABLE_HIBERNATE'], ['systemd-hibernate.service', 'ENABLE_HIBERNATE'], ['systemd-hybrid-sleep.service', 'ENABLE_HIBERNATE'], - ['systemd-suspend-to-hibernate.service', 'ENABLE_HIBERNATE'], + ['systemd-suspend-then-hibernate.service', 'ENABLE_HIBERNATE'], ['systemd-hostnamed.service', 'ENABLE_HOSTNAMED', 'dbus-org.freedesktop.hostname1.service'], ['systemd-hwdb-update.service', 'ENABLE_HWDB', diff --git a/units/suspend-to-hibernate.target b/units/suspend-then-hibernate.target index b9ab6d19e1..8c45510095 100644 --- a/units/suspend-to-hibernate.target +++ b/units/suspend-then-hibernate.target @@ -11,6 +11,6 @@ Description=Suspend; Idle into hibernate Documentation=man:systemd.special(7) DefaultDependencies=no -Requires=systemd-suspend-to-hibernate.service -After=systemd-suspend-to-hibernate.service +Requires=systemd-suspend-then-hibernate.service +After=systemd-suspend-then-hibernate.service StopWhenUnneeded=yes diff --git a/units/systemd-suspend-to-hibernate.service.in b/units/systemd-suspend-then-hibernate.service.in index 9bec9f6269..441ff164a0 100644 --- a/units/systemd-suspend-to-hibernate.service.in +++ b/units/systemd-suspend-then-hibernate.service.in @@ -16,4 +16,4 @@ After=sleep.target [Service] Type=oneshot -ExecStart=@rootlibexecdir@/systemd-sleep suspend-to-hibernate +ExecStart=@rootlibexecdir@/systemd-sleep suspend-then-hibernate |