Deploy Cerbos as a systemd service
The Cerbos Linux packages will automatically create a systemd service during installation. If you are using the tarballs to create a custom installation, you can modify the following sample systemd service definition to match your requirements.
[Unit]
Description=Cerbos Policy Decision Point
[Service]
ExecStart=/usr/local/bin/cerbos server --config=/etc/cerbos.yaml
ProtectSystem=full
ProtectHome=true
PrivateUsers=true
PrivateTmp=true
DynamicUser=yes
[Install]
WantedBy=multi-user.target
Refer to systemd documentation for more information about available configuration options.