-
-
Save naftulikay/9f8a6c781ba58b0700339d30e3aa3dce to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=On Resume | |
After=suspend.target | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/bin/logger -t suspend -s "on resume" | |
[Install] | |
WantedBy=suspend.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Before Suspend | |
Before=suspend.target | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/bin/logger -t suspend -s "before suspend" | |
[Install] | |
WantedBy=suspend.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment