Skip to content

A few files you can install to prevent system suspend/sleep when connected to AC

Notifications You must be signed in to change notification settings

francais01/systemd-suspend-prevent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

systemd-suspend-prevent

A few files you can install to prevent system suspend/sleep when connected to AC.

This is only slightly modified from this post: https://nrocco.github.io/2014/06/05/suspend-prevent-systemd.html.

INSTALL

  • Put suspend-prevent in /usr/local/bin and make it executable.
  • Put suspend-prevent.service in /etc/systemd/system.
  • Put 50-suspend-prevent.rules in /etc/udev/rules.d.
  • Run systemctl daemon-reload and udevadm control --reload-rules.

About

A few files you can install to prevent system suspend/sleep when connected to AC

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages