Improve overall documentation
This commit is contained in:
@@ -22,9 +22,13 @@ supervisord_conf=/.supervisord/supervisord.conf
|
||||
supervisord_pid=/.supervisord/supervisord.pid
|
||||
supervisord_log=/.supervisord/supervisord.log
|
||||
|
||||
# Safely initialize Seafile.
|
||||
/usr/bin/seaf-cli init -d /.seafile
|
||||
while [ ! -f $seafile_ini ]; do sleep 1; done
|
||||
# Safely start the Seafile daemon.
|
||||
/usr/bin/seaf-cli start
|
||||
while [ ! -S $seafile_sock ]; do sleep 1; done
|
||||
/usr/bin/seaf-cli sync -u $USERNAME -p $PASSWORD -s $SERVER -l $LIBRARY_ID -d /volume
|
||||
# Start the synchronisation.
|
||||
/usr/bin/seaf-cli sync -u $SEAF_USERNAME -p $SEAF_PASSWORD -s $SEAF_SERVER_URL -l $SEAF_LIBRARY_UUID -d /volume
|
||||
# Start the supervisord.
|
||||
/usr/bin/supervisord -u $UNAME -c $supervisord_conf -j $supervisord_pid -l $supervisord_log
|
||||
Reference in New Issue
Block a user