Persistent Storage for Journald
This commit is contained in:
parent
bea523a733
commit
2406c68a24
|
|
@ -38,6 +38,10 @@ export XDG_RUNTIME_DIR=/run/user/$(id -u)
|
||||||
# localectl set-locale LANG=en_US.UTF-8
|
# localectl set-locale LANG=en_US.UTF-8
|
||||||
# localectl set-locale LC_TIME=de_CH.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
|
# Enable Selinux in Enforcing Mode: change /etc/selinux/config
|
||||||
# dnf install setroubleshoot
|
# dnf install setroubleshoot
|
||||||
`
|
`
|
||||||
|
|
@ -189,7 +193,6 @@ if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)
|
||||||
|
|
||||||
### Setup Env for Podman
|
### Setup Env for Podman
|
||||||
|
|
||||||
we use /data/<podname> for persitent data:
|
|
||||||
```bash
|
```bash
|
||||||
# mkdir /data
|
# mkdir /data
|
||||||
# chown containers:containers /data
|
# chown containers:containers /data
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue