Skip to content

Instantly share code, notes, and snippets.

@BernardoGO
Created March 20, 2016 08:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BernardoGO/061e731351dcdbc0e61c to your computer and use it in GitHub Desktop.
Save BernardoGO/061e731351dcdbc0e61c to your computer and use it in GitHub Desktop.
[Unit]
Description=Local system resume actions
After=suspend.target network.target
[Service]
Type=simple
ExecStart=-/etc/pm/sleep.d/66nvidia resume
[Install]
WantedBy=suspend.target
#network.target
[Unit]
Description=Local system suspend actions
Before=sleep.target
[Service]
Type=simple
ExecStart=-/etc/pm/sleep.d/66nvidia suspend
[Install]
WantedBy=sleep.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment