mirror of
https://github.com/GeorgeSG/sarah.git
synced 2025-12-28 20:30:29 +00:00
14 lines
326 B
Bash
Executable File
14 lines
326 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" 2>/dev/null
|
|
|
|
log "[restart] ${LIGHT_GREEN}done${NO_FORMAT}"
|