-
Notifications
You must be signed in to change notification settings - Fork 139
Deploying PKI Server Container as Systemd Service
Endi S. Dewata edited this page Jun 2, 2023
·
15 revisions
Note
|
This page is still under construction. |
This document describes the process to deploy PKI server container as a systemd service using PKI 11.5 or later.
$ dnf install -y podman
$ podman pull quay.io/dogtagpki/pki-server
To create the systemd service, execute the following command:
$ ln -sf /usr/lib/systemd/system/pki-server.service /etc/systemd/system/pki-server.service
Then execute:
$ systemctl daemon-reload
To start the systemd service, execute the following command:
$ systemctl start pki-server.service
It should start pki-server
container:
$ podman ps CONTAINER ID IMAGE ... NAMES 8594b6b6e0c7 quay.io/dogtagpki/pki-server:latest ... pki-server
To monitor the systemd service:
$ journalctl -fu pki-server.service
To monitor the container:
$ podman logs -f pki-server
To stop the systemd service, execute the following command:
$ systemctl stop pki-server.service
It should stop pki-server
container.
To remove the systemd service, execute the following command:
$ rm -f /etc/systemd/system/pki-server.service
Then execute:
$ systemctl daemon-reload
Tip
|
To find a page in the Wiki, enter the keywords in search field, press Enter, then click Wikis. |