Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • The systemctl command takes two parameters: the COMMAND (i.e., 'start', 'stop', 'status', etc.) and the NAME of the service to execute the COMMAND on. In your test instance , it's missing the COMMAND part of that setup. Commented Jan 22, 2020 at 22:39
  • @ThomasN This is not the case, running systemctl hibernate from terminal works perfectly fine. The script also works fine, except when tools such as cron or at runs it Commented Jan 23, 2020 at 12:53
  • I stand corrected... should have read the manual pages a little further. Commented Jan 24, 2020 at 20:18