sleep while cryptpad daemon starts

This commit is contained in:
Bob Mottram 2017-05-28 10:43:29 +01:00
parent 43d0b6190a
commit 0de1341a5f
1 changed files with 2 additions and 0 deletions

View File

@ -330,6 +330,8 @@ function install_cryptpad {
systemctl daemon-reload
systemctl start cryptpad.service
sleep 6
if [ ! -d $CRYPTPAD_DIR/customize/api ]; then
mkdir -p $CRYPTPAD_DIR/customize/api
fi