Cloudron-compatible packaging for the Notea app
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
421 B

set -eu
mkdir -p /app/data
echo " => Changing ownership"
chown -R cloudron:cloudron /app/data
if [ ! -f /app/data/ ] ; then
echo " => Use terminal to customize config in /app/data/"
cp /app/code/ /app/data/
echo " => Sourcing config"
source /app/data/
echo " => Starting notea"
exec /usr/local/bin/gosu cloudron:cloudron /app/code/node_modules/.bin/next start