1 |
jpp |
1.1 |
diff -Nur --no-dereference e-smith-base-5.8.1.old/root/etc/e-smith/events/actions/systemd-journald e-smith-base-5.8.1/root/etc/e-smith/events/actions/systemd-journald |
2 |
|
|
--- e-smith-base-5.8.1.old/root/etc/e-smith/events/actions/systemd-journald 1969-12-31 19:00:00.000000000 -0500 |
3 |
|
|
+++ e-smith-base-5.8.1/root/etc/e-smith/events/actions/systemd-journald 2021-12-20 09:07:38.478000000 -0500 |
4 |
|
|
@@ -0,0 +1,5 @@ |
5 |
|
|
+#!/bin/bash |
6 |
|
|
+if [[ ! -d /var/log/journal ]]; then |
7 |
|
|
+ mkdir -p /var/log/journal |
8 |
|
|
+ /usr/bin/systemd-tmpfiles --create --prefix /var/log/journal |
9 |
|
|
+fi |
10 |
jpp |
1.2 |
diff -Nur --no-dereference e-smith-base-5.8.1.old/createlinks e-smith-base-5.8.1/createlinks |
11 |
|
|
--- e-smith-base-5.8.1.old/createlinks 2021-06-06 16:30:37.000000000 -0400 |
12 |
|
|
+++ e-smith-base-5.8.1/createlinks 2021-12-20 09:52:47.018000000 -0500 |
13 |
|
|
@@ -305,6 +305,7 @@ |
14 |
|
|
templates2events("/etc/smartd.conf", $event); |
15 |
|
|
templates2events("/home/e-smith/ssl.pem/pem", $event); |
16 |
|
|
templates2events("/usr/lib/systemd/system/dhcpd.service.d/50koozali.conf", $event); |
17 |
|
|
+event_link("systemd-journald", $event, "02"); |
18 |
|
|
event_link("fix-startup", $event, "05"); |
19 |
|
|
event_link("rotate_timestamped_logfiles", $event, "05"); |
20 |
|
|
event_link("init-accounts", $event, "05"); |
21 |
|
|
@@ -443,6 +444,7 @@ |
22 |
|
|
$event = "post-install"; |
23 |
|
|
|
24 |
|
|
templates2events("/usr/lib/systemd/system/dhcpd.service.d/50koozali.conf", $event); |
25 |
|
|
+event_link("systemd-journald", $event, "02"); |
26 |
|
|
event_link("fix-startup", $event, "05"); |
27 |
|
|
event_link("rotate_timestamped_logfiles", $event, "05"); |
28 |
|
|
event_link("init-accounts", $event, "05"); |
29 |
|
|
@@ -462,6 +464,7 @@ |
30 |
|
|
|
31 |
|
|
event_link("remove-templates-custom", $event, "02"); |
32 |
|
|
templates2events("/usr/lib/systemd/system/dhcpd.service.d/50koozali.conf", $event); |
33 |
|
|
+event_link("systemd-journald", $event, "02"); |
34 |
|
|
event_link("fix-startup", $event, "05"); |
35 |
|
|
event_link("rotate_timestamped_logfiles", $event, "05"); |
36 |
|
|
event_link("init-accounts", $event, "05"); |