From 619ce069d7909c17a504e7fa93452238dcd55edd Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Wed, 20 Jul 2022 17:49:20 -0600 Subject: [PATCH] fix #13 --- scripts/install | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/install b/scripts/install index c38439b..ed2eeef 100755 --- a/scripts/install +++ b/scripts/install @@ -100,6 +100,11 @@ chmod 750 "$datadir" chmod -R o-rwx "$datadir" chown -R $app:www-data "$datadir" +# Run migrate for new install go-shiori/shiori#447 +pushd $final_path/ + sudo -u $app final_path/shiori serve --port $port --webroot $path_url +popd + #================================================= # SETUP SYSTEMD #=================================================