mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-05 08:44:24 +00:00
12 lines
316 B
Bash
Executable File
12 lines
316 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -o allexport; source "$(dirname $0)/.env"; set +o allexport
|
|
source "$(dirname $0)/utils.sh"
|
|
|
|
log "[restart] Restarting Home Assistant..."
|
|
|
|
ssh $REMOTE_HOST -p $REMOTE_PORT \
|
|
"docker-compose -f $REMOTE_REPO_PATH/config/docker-compose.yaml restart"
|
|
|
|
log "[restart] ${LIGHT_GREEN}done${NO_FORMAT}"
|