feat: directories

This commit is contained in:
f 2023-12-12 10:44:02 -03:00
parent 7e92131765
commit 40a2a37ba6
No known key found for this signature in database

View file

@ -11,6 +11,14 @@ case $1 in
*)
test -f "${pid}" || exit 1
daemonize -c /srv/pocketbase -p $pid -u nobody /usr/local/bin/syslogize /usr/bin/pocketbase serve --http [::]:8090 --automigrate
daemonize -c /srv/pocketbase -p $pid -u nobody \
/usr/local/bin/syslogize \
/usr/bin/pocketbase serve \
--http [::]:8090 \
--automigrate \
--dir /srv/pocketbase/data \
--migrationsDir /srv/pocketbase/migrations \
--publicDir /srv/pocketbase/public \
--hooksDir /srv/pocketbase/hooks
;;
esac