diff --git a/home.admin/config.scripts/blitz.web.api.sh b/home.admin/config.scripts/blitz.web.api.sh index 578e33ceb..8d28621f2 100755 --- a/home.admin/config.scripts/blitz.web.api.sh +++ b/home.admin/config.scripts/blitz.web.api.sh @@ -2,11 +2,9 @@ # main repo: https://github.com/fusion44/blitz_api -# restart the systemd `blitzapi` when credentials of lnd or bitcoind are changeing and it will +# restart the systemd `blitzapi` when credentials of lnd or bitcoind are changed and it will # excute the `update-config` automatically before restarting -# TODO: On sd card install there might be no Bitcoin & Lightning confs - make sure backend runs without - # command info if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "--help" ] || [ "$1" = "-help" ]; then echo "Manage RaspiBlitz Web API" @@ -17,12 +15,6 @@ if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "--help" ] || [ "$1" = "-help" ]; exit 1 fi -# check if started with sudo -if [ "$EUID" -ne 0 ]; then - echo "error='run as root'" - exit 1 -fi - DEFAULT_GITHUB_USER="fusion44" DEFAULT_GITHUB_REPO="blitz_api" DEFAULT_GITHUB_BRANCH="main"