Chung
09/16/2025, 12:33 AMspicedb in production?
Say I followed [the instructions](https://authzed.com/docs/spicedb/getting-started/install/debian#installing-spicedb-using-apt-get) to install spicedb on my Debian box. How should I start spicedb so that it act as a daemon/service and it can auto restart upon crash?
in dev, I simply do
sh
spicedb serve --grpc-preshared-key 12345678 \
--datastore-engine=postgres \
--datastore-conn-uri="postgres://postgres:postgres@localhost:5432/spicedb?sslmode=disable"