45 |
+ |
+ |
46 |
+[Unit] |
+[Unit] |
47 |
+Description=System Monitor |
+Description=System Monitor |
|
+Documentation=man:sysmon |
|
48 |
+After=network-online.target |
+After=network-online.target |
49 |
+Wants=network-online.target |
+Wants=network-online.target |
50 |
|
+ |
51 |
diff -urN smeserver-sysmon-6.5.old/root/etc/e-smith/templates/usr/lib/systemd/system/sysmon.service.d/50koozali.conf/20Service smeserver-sysmon-6.5/root/etc/e-smith/templates/usr/lib/systemd/system/sysmon.service.d/50koozali.conf/20Service |
diff -urN smeserver-sysmon-6.5.old/root/etc/e-smith/templates/usr/lib/systemd/system/sysmon.service.d/50koozali.conf/20Service smeserver-sysmon-6.5/root/etc/e-smith/templates/usr/lib/systemd/system/sysmon.service.d/50koozali.conf/20Service |
52 |
--- smeserver-sysmon-6.5.old/root/etc/e-smith/templates/usr/lib/systemd/system/sysmon.service.d/50koozali.conf/20Service 1970-01-01 10:00:00.000000000 +1000 |
--- smeserver-sysmon-6.5.old/root/etc/e-smith/templates/usr/lib/systemd/system/sysmon.service.d/50koozali.conf/20Service 1970-01-01 10:00:00.000000000 +1000 |
53 |
+++ smeserver-sysmon-6.5/root/etc/e-smith/templates/usr/lib/systemd/system/sysmon.service.d/50koozali.conf/20Service 2022-08-03 16:12:26.238523740 +1000 |
+++ smeserver-sysmon-6.5/root/etc/e-smith/templates/usr/lib/systemd/system/sysmon.service.d/50koozali.conf/20Service 2022-08-03 16:12:26.238523740 +1000 |
54 |
@@ -0,0 +1,5 @@ |
@@ -0,0 +1,5 @@ |
55 |
+ |
+ |
56 |
+[Service] |
+[Service] |
57 |
|
+ExecStartPre= |
58 |
|
+ExecStartPre=-/sbin/e-smith/service-status sysmon |
59 |
|
+ExecStartPre=-/sbin/e-smith/expand-template /usr/lib/systemd/system/sysmon.service.d/50koozali.conf |
60 |
+ExecStart= |
+ExecStart= |
61 |
+ExecStart=/usr/sbin/sysmon |
+ExecStart=-/usr/sbin/sysmon |
62 |
+ |
+ |
63 |
diff -urN smeserver-sysmon-6.5.old/root/etc/e-smith/templates/usr/lib/systemd/system/sysmon.service.d/50koozali.conf/30Install smeserver-sysmon-6.5/root/etc/e-smith/templates/usr/lib/systemd/system/sysmon.service.d/50koozali.conf/30Install |
diff -urN smeserver-sysmon-6.5.old/root/etc/e-smith/templates/usr/lib/systemd/system/sysmon.service.d/50koozali.conf/30Install smeserver-sysmon-6.5/root/etc/e-smith/templates/usr/lib/systemd/system/sysmon.service.d/50koozali.conf/30Install |
64 |
--- smeserver-sysmon-6.5.old/root/etc/e-smith/templates/usr/lib/systemd/system/sysmon.service.d/50koozali.conf/30Install 1970-01-01 10:00:00.000000000 +1000 |
--- smeserver-sysmon-6.5.old/root/etc/e-smith/templates/usr/lib/systemd/system/sysmon.service.d/50koozali.conf/30Install 1970-01-01 10:00:00.000000000 +1000 |
115 |
- |
- |
116 |
-exit $RETVAL |
-exit $RETVAL |
117 |
- |
- |
118 |
|
diff -urN smeserver-sysmon-6.5.old/root/usr/lib/systemd/system/sysmon.service smeserver-sysmon-6.5/root/usr/lib/systemd/system/sysmon.service |
119 |
|
--- smeserver-sysmon-6.5.old/root/usr/lib/systemd/system/sysmon.service 1970-01-01 10:00:00.000000000 +1000 |
120 |
|
+++ smeserver-sysmon-6.5/root/usr/lib/systemd/system/sysmon.service 2022-08-05 12:02:45.000000000 +1000 |
121 |
|
@@ -0,0 +1,12 @@ |
122 |
|
+ |
123 |
|
+[Unit] |
124 |
|
+Description=System Monitor |
125 |
|
+After=network-online.target |
126 |
|
+Wants=network-online.target |
127 |
|
+ |
128 |
|
+[Service] |
129 |
|
+ExecStartPre= |
130 |
|
+ExecStartPre=-/sbin/e-smith/service-status sysmon |
131 |
|
+ExecStartPre=-/sbin/e-smith/expand-template /usr/lib/systemd/system/sysmon.service.d/50koozali.conf |
132 |
|
+ExecStart= |
133 |
|
+ExecStart=-/usr/sbin/sysmon |
134 |
|
+ |
135 |
|
+[Install] |
136 |
|
+WantedBy= sme-server.target |
137 |
|
+ |
138 |
|
diff -urN smeserver-sysmon-6.5.old/root/usr/lib/systemd/system/sysmon.service.d/50koozali.conf smeserver-sysmon-6.5/root/usr/lib/systemd/system/sysmon.service.d/50koozali.conf |
139 |
|
--- smeserver-sysmon-6.5.old/root/usr/lib/systemd/system/sysmon.service.d/50koozali.conf 1970-01-01 10:00:00.000000000 +1000 |
140 |
|
+++ smeserver-sysmon-6.5/root/usr/lib/systemd/system/sysmon.service.d/50koozali.conf 2022-08-05 12:02:45.000000000 +1000 |
141 |
|
@@ -0,0 +1,12 @@ |
142 |
|
+ |
143 |
|
+[Unit] |
144 |
|
+Description=System Monitor |
145 |
|
+After=network-online.target |
146 |
|
+Wants=network-online.target |
147 |
|
+ |
148 |
|
+[Service] |
149 |
|
+ExecStartPre= |
150 |
|
+ExecStartPre=-/sbin/e-smith/service-status sysmon |
151 |
|
+ExecStartPre=-/sbin/e-smith/expand-template /usr/lib/systemd/system/sysmon.service.d/50koozali.conf |
152 |
|
+ExecStart= |
153 |
|
+ExecStart=-/usr/sbin/sysmon |
154 |
|
+ |
155 |
|
+[Install] |
156 |
|
+WantedBy= sme-server.target |
157 |
|
+ |