From 15a8e3eee6ae064da8370ab54aa366ec04e7b331 Mon Sep 17 00:00:00 2001 From: Robert Fekete Date: Sun, 18 Feb 2024 15:31:55 +0100 Subject: [PATCH] Minor fixes --- content/install/podman-systemd/_index.md | 10 ++++++---- .../{axosyslog.service => axosyslog.container} | 0 2 files changed, 6 insertions(+), 4 deletions(-) rename content/install/podman-systemd/{axosyslog.service => axosyslog.container} (100%) diff --git a/content/install/podman-systemd/_index.md b/content/install/podman-systemd/_index.md index 39d8531c..cee2fc7b 100644 --- a/content/install/podman-systemd/_index.md +++ b/content/install/podman-systemd/_index.md @@ -14,7 +14,7 @@ This page shows you how to run {{% param "product.abbrev" %}} as a systemd servi Podman version 4.6.1. - +The steps in this procedure were tested on CentOS 9, but should work on other similar distributions as well. ## Install {{% param "product.abbrev" %}} as a systemd service @@ -44,10 +44,10 @@ Podman version 4.6.1. ```shell - sudo curl -o /etc/containers/systemd/axosyslog.container https://axoflow.com/docs/axosyslog-core/install/podman-systemd/axosyslog.service + sudo curl -o /etc/containers/systemd/axosyslog.container https://axoflow.com/docs/axosyslog-core/install/podman-systemd/axosyslog.container ``` - {{< include-code "axosyslog.service" "systemd" >}} + {{< include-code "axosyslog.container" "systemd" >}} 1. Edit the unit file as needed for your environment. @@ -75,7 +75,8 @@ Podman version 4.6.1. + > Where do we set the /var/log part? + > Do we have to manually create /opt/axosyslog/var/log/messages outside? --> 1. Run the following commands to reload the systemd configuration and launch the `axosyslog` service. Though the systemctl commands are run as root, the container will run as the specified user if set appropriately in the unit file. @@ -139,6 +140,7 @@ Podman version 4.6.1. ## Customize the configuration To customize the configuration, edit the `/etc/syslog-ng/syslog-ng.conf` file on the host, then reload the service. + {{< include-headless "disk-buffer-in-container.md" >}} diff --git a/content/install/podman-systemd/axosyslog.service b/content/install/podman-systemd/axosyslog.container similarity index 100% rename from content/install/podman-systemd/axosyslog.service rename to content/install/podman-systemd/axosyslog.container