tidy up stuff

This commit is contained in:
sparklyballs 2017-07-17 17:36:32 +01:00
parent a316ea3a66
commit 3cd48c3d5f
3 changed files with 6 additions and 6 deletions

View File

@ -1,10 +1,11 @@
#!/usr/bin/with-contenv bash
# put database in /config
# copy database to /config if not exists
[[ ! -e /config/app.db ]] && \
cp /defaults/app.db /config/app.db \
# link to /app/calibre-web/app.db
# create symlink for database
[[ ! -L /app/calibre-web/app.db ]] && \
ln -s /config/app.db /app/calibre-web/app.db
# permissions

View File

@ -4,4 +4,3 @@ cd /app/calibre-web || exit
exec \
s6-setuidgid abc python /app/calibre-web/cps.py