Files
instasync/run.sh
2023-01-01 22:45:05 +00:00

8 lines
189 B
Bash
Executable File

#!/bin/sh
LOG=/home/ppetru/instasync/log
cd $(dirname $0)
date >> ${LOG}
node sync.js "$(docker inspect -f {{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}} alo-db)" 2>&1 >> ${LOG}