Last active
December 20, 2015 16:29
-
-
Save zoqaeski/6162240 to your computer and use it in GitHub Desktop.
Automatically restarts upower to work around libusbx bug.
This file contains hidden or 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 upower to fix libusbx bug. | |
After=sleep.target | |
StopWhenUnneeded=yes | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/bin/systemctl restart upower.service | |
[Install] | |
WantedBy=sleep.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment