Skip to content

systemd service #50

@mkahric

Description

@mkahric

Maybe someone will find this useful.

systemd ocspd.service

[Unit]
Description=OpenCA OCSP Responder (OCSPD)
Documentation=man:ocspd(3) man:ocspd.conf(3)
After=syslog.target network.target

[Service]
Type=forking
ExecStart=/usr/sbin/ocspd -c /usr/etc/ocspd/ocspd.xml -d
ExecReload=/bin/kill -s HUP ${MAINPID}
ExecStop=/bin/kill -s TERM ${MAINPID}
PIDFile=/usr/var/run/ocspd.pid
Restart=always
RestartSec=2

[Install]
WantedBy=multi-user.target

Tested on CentOS 7.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions