Compare commits

..
2 Commits
Author SHA1 Message Date
jlehmann 47796f6252 Merge branch 'master' of https://git.nbit.ch/drpuur/onyx_pods 2023-10-20 14:40:49 +02:00
jlehmann 2406c68a24 Persistent Storage for Journald 2023-10-20 14:40:39 +02:00
+4 -1
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 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