Remove cron in favor of tailing the log as a keep-alive method
This commit is contained in:
@@ -81,5 +81,3 @@ su - $UNAME << EO
|
||||
export UNAME=$UNAME
|
||||
/bin/bash /home/seafuser/entrypoint.sh
|
||||
EO
|
||||
|
||||
cron -f
|
||||
@@ -45,3 +45,6 @@ test $SEAF_LIBRARY_PASSWORD && cmd+=" -e $SEAF_LIBRARY_PASSWORD"
|
||||
|
||||
# Run it.
|
||||
if ! eval $cmd; then echo "Failed to sync"; exit 1; fi
|
||||
|
||||
# Continously print the log.
|
||||
tail -f ~/.ccnet/logs/seafile.log
|
||||
|
||||
Reference in New Issue
Block a user