Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Properly exit Chromium on Ubuntu shutdown or restart
# 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
You can’t perform that action at this time.