setup/clone/utility/sats-loop

9 lines
212 B
Bash

#!/bin/sh
# [0] Check synced first
if [ ! -e /target/sync ]; then
exit 1;
fi;
# [1] Propagate script to DAEMON
/bin/bash /home/sats/satsd/source/daemon | sudo -u sats tee -a /home/sats/satsd/log/daemon.log;