Created
November 22, 2021 10:38
-
-
Save ShadowJonathan/75b96be3b8d2c2616e9487e7934111a6 to your computer and use it in GitHub Desktop.
Systemd service to fix vlc spamming syslog after wakeup
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
# /etc/systemd/system/fix-vlc.service | |
[Unit] | |
Description=Fix VLC | |
After=suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target sleep.target | |
[Service] | |
User=root | |
Type=oneshot | |
ExecStart=-/usr/bin/killall vlc | |
TimeoutSec=10 | |
[Install] | |
WantedBy=suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target sleep.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment