Set service type to exec

Let systemctl start fail when cacert-goocsp cannot be started
main
Jan Dittberner 2 years ago
parent 6ef93d2db5
commit 745e0ee28a

@ -3,6 +3,7 @@ Description=CAcert OCSP responder service
After=network.target
[Service]
Type=exec
AmbientCapabilities=CAP_NET_BIND_SERVICE
ExecCondition=/bin/sh -c 'test -f /etc/goocsp/config.yaml'
ExecStart=/usr/bin/cacert-goocsp -serverAddr ":80" -configFile /etc/goocsp/config.yaml

Loading…
Cancel
Save