Initial notea packaging
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -eu
|
||||
|
||||
echo " => Changing ownership"
|
||||
chown -R cloudron:cloudron /app/data
|
||||
|
||||
if [ ! -f /app/data/env.sh ] ; then
|
||||
echo " => Use terminal to customize config in /app/data/env.sh"
|
||||
cp /app/code/example.env.sh /app/data/env.sh
|
||||
fi
|
||||
|
||||
echo " => Sourcing config"
|
||||
source /app/data/env.sh
|
||||
|
||||
echo " => Starting notea"
|
||||
exec /usr/local/bin/gosu cloudron:cloudron /app/code/node_modules/.bin/next start
|
||||
|
||||
Reference in New Issue
Block a user