Use cron where it should be used

This commit is contained in:
flow.gunso
2019-04-24 15:09:30 +02:00
parent ef1f52560c
commit b8eef1e161
2 changed files with 4 additions and 4 deletions

View File

@@ -51,6 +51,4 @@ su - $UNAME << EO
export SEAF_LIBRARY_UUID=$SEAF_LIBRARY_UUID export SEAF_LIBRARY_UUID=$SEAF_LIBRARY_UUID
export UNAME=$UNAME export UNAME=$UNAME
/bin/bash /home/seafuser/entrypoint.sh /bin/bash /home/seafuser/entrypoint.sh
EO EO
cron -f

View File

@@ -52,4 +52,6 @@ su - $UNAME << EO
export SEAF_LIBRARY_UUID=$SEAF_LIBRARY_UUID export SEAF_LIBRARY_UUID=$SEAF_LIBRARY_UUID
export UNAME=$UNAME export UNAME=$UNAME
/bin/bash /home/seafuser/entrypoint.sh /bin/bash /home/seafuser/entrypoint.sh
EO EO
cron -f