Created
May 9, 2019 08:58
-
-
Save jpcaparas/d22c4f42b43a25f1cde6dc82d19e679d to your computer and use it in GitHub Desktop.
Restart DisplayLink service after waking up from suspend
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=Restart DisplayLink service after waking up from suspend | |
After=suspend.target hibernate.target | |
[Service] | |
Type=oneshot | |
ExecStart=systemctl -f restart displaylink # This might take a while, but it runs in the background, so don't worry about it. | |
[Install] | |
WantedBy=suspend.target hibernate.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment