Persistent Storage for Journald

This commit is contained in:
Joerg Lehmann 2023-10-20 14:40:39 +02:00
parent bea523a733
commit 2406c68a24
1 changed files with 4 additions and 1 deletions

View File

@ -38,6 +38,10 @@ export XDG_RUNTIME_DIR=/run/user/$(id -u)
# localectl set-locale LANG=en_US.UTF-8
# localectl set-locale LC_TIME=de_CH.UTF-8
Set Journalctl-Config to persistent Storage:
/etc/systemd/journald.conf:
Storage=persistent
# Enable Selinux in Enforcing Mode: change /etc/selinux/config
# dnf install setroubleshoot
`
@ -189,7 +193,6 @@ if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)
### Setup Env for Podman
we use /data/<podname> for persitent data:
```bash
# mkdir /data
# chown containers:containers /data