feat: directories
This commit is contained in:
parent
7e92131765
commit
40a2a37ba6
1 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue