8 lines
189 B
Bash
Executable File
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}
|