14 lines
381 B
SYSTEMD
14 lines
381 B
SYSTEMD
|
[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
|