oidc-demo-app/docs/cacert-oidc-demo-app.service

14 lines
381 B
SYSTEMD
Raw Normal View History

2023-07-29 16:23:28 +00:00
[Unit]
Description=CAcert OpenID Connect demo application
[Service]
AmbientCapabilities=CAP_NET_BIND_SERVICE
ExecCondition=/bin/sh -c 'test -f /etc/cacert-oidc-demo-app/demo-app.toml'
ExecStart=/usr/bin/cacert-oidc-demo-app --conf /etc/cacert-oidc-demo-app/demo-app.toml
StateDirectory=cacert-oidc-demo-app
User=cacert-demo
Group=cacert-demo
[Install]
WantedBy=multi-user.target