Goals:
- Run as root with a full bash env
- Notify on failure via SNS email
- Make this a good boilerplate
Sources:
Goals:
Sources:
# Install packages
Roku OS has betrayed me too many times.
| # Install brew | |
| /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
| brew install bitwarden | |
| brew install visual-studio-code | |
| brew install google-chrome | |
| brew install firefox |
| #!/bin/bash | |
| # Based on: https://dev.to/christianpaez/simplifying-path-management-with-bash-4870 | |
| # Install via: | |
| # sudo curl -o /usr/bin/add-path -L https://gist.githubusercontent.com/shawngmc/954ef4ccee03a26f1774c5b922e27777/raw/add-path | |
| # sudo chmod 755 /usr/bin/add-path | |
| unset dir_to_add | |
| unset force_add | |
| unset do_add |
OK, so I love the idea of SELinux. I like the idea of process permissions and quasi-sandboxing. What I hate about SELinux is:
Let's see if I can help myself (and maybe you!) understand it a bit better.
| homeassistant | s6-rc: info: service s6rc-oneshot-runner: starting | |
| homeassistant | s6-rc: info: service s6rc-oneshot-runner successfully started | |
| homeassistant | s6-rc: info: service fix-attrs: starting | |
| homeassistant | s6-rc: info: service fix-attrs successfully started | |
| homeassistant | s6-rc: info: service legacy-cont-init: starting | |
| homeassistant | s6-rc: info: service legacy-cont-init successfully started | |
| homeassistant | s6-rc: info: service legacy-services: starting | |
| homeassistant | services-up: info: copying legacy longrun home-assistant (no readiness notification) | |
| homeassistant | s6-rc: info: service legacy-services successfully started | |
| homeassistant | [33m2023-01-03 17:03:52.653 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration pyscript which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant[0m |