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 |
112 |
- |
- |
113 |
-exit $RETVAL |
-exit $RETVAL |
114 |
- |
- |
115 |
|
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 |
116 |
|
--- smeserver-sysmon-6.5.old/root/usr/lib/systemd/system/sysmon.service 1970-01-01 10:00:00.000000000 +1000 |
117 |
|
+++ smeserver-sysmon-6.5/root/usr/lib/systemd/system/sysmon.service 2022-08-05 12:02:45.000000000 +1000 |
118 |
|
@@ -0,0 +1,12 @@ |
119 |
|
+ |
120 |
|
+[Unit] |
121 |
|
+Description=System Monitor |
122 |
|
+After=network-online.target |
123 |
|
+Wants=network-online.target |
124 |
|
+ |
125 |
|
+[Service] |
126 |
|
+ExecStart= |
127 |
|
+ExecStart=/usr/bin/perl /usr/sbin/sysmon |
128 |
|
+ |
129 |
|
+[Install] |
130 |
|
+WantedBy= sme-server.target |
131 |
|
+ |
132 |
|
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 |
133 |
|
--- smeserver-sysmon-6.5.old/root/usr/lib/systemd/system/sysmon.service.d/50koozali.conf 1970-01-01 10:00:00.000000000 +1000 |
134 |
|
+++ smeserver-sysmon-6.5/root/usr/lib/systemd/system/sysmon.service.d/50koozali.conf 2022-08-05 12:02:45.000000000 +1000 |
135 |
|
@@ -0,0 +1,12 @@ |
136 |
|
+ |
137 |
|
+[Unit] |
138 |
|
+Description=System Monitor |
139 |
|
+After=network-online.target |
140 |
|
+Wants=network-online.target |
141 |
|
+ |
142 |
|
+[Service] |
143 |
|
+ExecStart= |
144 |
|
+ExecStart=/usr/bin/perl /usr/sbin/sysmon |
145 |
|
+ |
146 |
|
+[Install] |
147 |
|
+WantedBy= sme-server.target |
148 |
|
+ |