Gracefully terminates Firefox.

This commit is contained in:
Jocelyn Le Sage 2018-03-15 07:09:06 -04:00
parent 5d2a1c2e52
commit cfead8ca3c
3 changed files with 68 additions and 2 deletions

View file

@ -1,4 +1,8 @@
#!/bin/sh
set -e # Exit immediately if a command exits with a non-zero status.
set -u # Treat unset variables as an error.
export HOME=/config
mkdir -p /config/profile
exec /usr/bin/firefox --profile /config/profile --setDefaultBrowser >> /config/log/firefox/output.log 2>> /config/log/firefox/error.log
exec /usr/bin/firefox_wrapper --profile /config/profile --setDefaultBrowser >> /config/log/firefox/output.log 2>> /config/log/firefox/error.log