X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fhibernate.service.in;fp=units%2Fhibernate.service.in;h=6dba653d37bfa98a65788d0feed4890eb39814df;hb=6edd7d0a09171ea5ae8e01b7b1cbcb0bdfbfeb16;hp=0000000000000000000000000000000000000000;hpb=4943c1c94ba751c98763f4232b4350481b22c90a;p=elogind.git diff --git a/units/hibernate.service.in b/units/hibernate.service.in new file mode 100644 index 000000000..6dba653d3 --- /dev/null +++ b/units/hibernate.service.in @@ -0,0 +1,16 @@ +# 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 +DefaultDependencies=no +Requires=sleep.target +After=sleep.target + +[Service] +Type=oneshot +ExecStart=@rootlibexecdir@/systemd-sleep hibernate