Files
instasync/run.sh

9 lines
178 B
Bash
Executable File

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