Properly exit Chromium on Ubuntu shutdown or restart
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
# Installation | |
# 1. Create a script with the below content as /etc/rc6.d/K99_chromium_exit to run the script on shutdown | |
# 2. Create a script with the below content as /etc/rc0.d/K99_chromium_exit to run the script on restart | |
# 3. Make the script(s) executable: sudo chmod +x /etc/rc6.d/K99_chromium_exit | |
/usr/bin/pkill -15 -P 1 chromium-browser |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment