Skip to content

Instantly share code, notes, and snippets.

@orschiro
Last active October 6, 2015 18:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save orschiro/44d6067929ea9f141226 to your computer and use it in GitHub Desktop.
Save orschiro/44d6067929ea9f141226 to your computer and use it in GitHub Desktop.
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