{"id":1581,"date":"2024-01-30T03:39:48","date_gmt":"2024-01-30T03:39:48","guid":{"rendered":"\/blog\/?p=1581"},"modified":"2024-01-30T03:39:48","modified_gmt":"2024-01-30T03:39:48","slug":"disable-sleep","status":"publish","type":"post","link":"\/blog\/index.php\/disable-sleep\/","title":{"rendered":"Disable sleep"},"content":{"rendered":"\n<p><code>root@hoshi:\/var\/log# systemctl status suspend.target<br>\u25cf suspend.target - Suspend<br>Loaded: loaded (\/lib\/systemd\/system\/suspend.target; static; vendor preset: enabled)<br>Active: inactive (dead)<br>Docs: man:systemd.special(7)<br>root@hoshi:\/var\/log# systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target<br>Created symlink \/etc\/systemd\/system\/sleep.target \u2192 \/dev\/null.<br>Created symlink \/etc\/systemd\/system\/suspend.target \u2192 \/dev\/null.<br>Created symlink \/etc\/systemd\/system\/hibernate.target \u2192 \/dev\/null.<br>Created symlink \/etc\/systemd\/system\/hybrid-sleep.target \u2192 \/dev\/null.<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>root@hoshi:\/var\/log# systemctl status suspend.target\u25cf suspend.target &#8211; SuspendLoaded: loaded (\/lib\/systemd\/system\/suspend.target; static; vendor preset: enabled)Active: inactive (dead)Docs: man:systemd.special(7)root@hoshi:\/var\/log# systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.targetCreated symlink \/etc\/systemd\/system\/sleep.target \u2192 \/dev\/null.Created symlink \/etc\/systemd\/system\/suspend.target \u2192 \/dev\/null.Created symlink \/etc\/systemd\/system\/hibernate.target \u2192 \/dev\/null.Created symlink \/etc\/systemd\/system\/hybrid-sleep.target \u2192 \/dev\/null.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1581","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1581","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1581"}],"version-history":[{"count":1,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1581\/revisions"}],"predecessor-version":[{"id":1582,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1581\/revisions\/1582"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1581"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}