1 |
diff -Nur smeserver-awstats-1.4.old/createlinks smeserver-awstats-1.4/createlinks |
2 |
--- smeserver-awstats-1.4.old/createlinks 2007-04-06 00:59:44.000000000 -0400 |
3 |
+++ smeserver-awstats-1.4/createlinks 2021-02-22 15:04:20.879000000 -0500 |
4 |
@@ -3,15 +3,29 @@ |
5 |
use esmith::Build::CreateLinks qw(:all); |
6 |
use File::Basename; |
7 |
use File::Path; |
8 |
- |
9 |
-panel_link("awstats", 'manager'); |
10 |
- |
11 |
-event_link("conf-awstats", 'console-save', "60"); |
12 |
-event_link("conf-awstats", 'remoteaccess-update', "85"); |
13 |
|
14 |
-event_link("awstats-run", "ip-change", "60"); |
15 |
-event_link("conf-awstats", "ip-change", "61"); |
16 |
+my $service; |
17 |
|
18 |
-event_link("conf-awstats", "awstats-update", "10"); |
19 |
+panel_link("awstats", 'manager'); |
20 |
+ |
21 |
+$service="console-save"; |
22 |
+templates2events("/etc/e-smith/web/panels/manager/cgi-bin/.awstats/awstats.conf", $event ); |
23 |
+ |
24 |
+$service="remoteaccess-update"; |
25 |
+templates2events("/etc/e-smith/web/panels/manager/cgi-bin/.awstats/awstats.conf", $event ); |
26 |
+ |
27 |
+$service="ip-change"; |
28 |
+templates2events("/etc/e-smith/web/panels/manager/cgi-bin/.awstats/awstats.conf", $event ); |
29 |
+event_link("awstats-run", $service , "04"); |
30 |
+ |
31 |
+$service="awstats-update"; |
32 |
+event_link("navigation-conf", $event, "50"); |
33 |
+templates2events("/etc/e-smith/web/panels/manager/cgi-bin/.awstats/awstats.conf", $event ); |
34 |
event_link("awstats-run", "awstats-update", "20"); |
35 |
|
36 |
+ |
37 |
+my $service= "smeserver-awstat-update"; |
38 |
+event_link("navigation-conf", $event, "50"); |
39 |
+templates2events("/etc/e-smith/web/panels/manager/cgi-bin/.awstats/awstats.conf", $event ); |
40 |
+templates2events("/etc/crontab", $event ); |
41 |
+event_link("awstats-upgrade", $event, "02"); |
42 |
diff -Nur smeserver-awstats-1.4.old/root/etc/e-smith/db/configuration/defaults/AWStats/status smeserver-awstats-1.4/root/etc/e-smith/db/configuration/defaults/AWStats/status |
43 |
--- smeserver-awstats-1.4.old/root/etc/e-smith/db/configuration/defaults/AWStats/status 1969-12-31 19:00:00.000000000 -0500 |
44 |
+++ smeserver-awstats-1.4/root/etc/e-smith/db/configuration/defaults/AWStats/status 2021-02-22 14:38:52.409000000 -0500 |
45 |
@@ -0,0 +1 @@ |
46 |
+enabled |
47 |
diff -Nur smeserver-awstats-1.4.old/root/etc/e-smith/db/configuration/defaults/AWStats/type smeserver-awstats-1.4/root/etc/e-smith/db/configuration/defaults/AWStats/type |
48 |
--- smeserver-awstats-1.4.old/root/etc/e-smith/db/configuration/defaults/AWStats/type 1969-12-31 19:00:00.000000000 -0500 |
49 |
+++ smeserver-awstats-1.4/root/etc/e-smith/db/configuration/defaults/AWStats/type 2021-02-22 14:38:40.451000000 -0500 |
50 |
@@ -0,0 +1 @@ |
51 |
+status |
52 |
diff -Nur smeserver-awstats-1.4.old/root/etc/yum/post-actions/awstats.action smeserver-awstats-1.4/root/etc/yum/post-actions/awstats.action |
53 |
--- smeserver-awstats-1.4.old/root/etc/yum/post-actions/awstats.action 1969-12-31 19:00:00.000000000 -0500 |
54 |
+++ smeserver-awstats-1.4/root/etc/yum/post-actions/awstats.action 2021-02-22 15:02:23.606000000 -0500 |
55 |
@@ -0,0 +1,2 @@ |
56 |
+awstats:install:/etc/e-smith/events/actions/awstats-upgrade |
57 |
+awstats:update:/etc/e-smith/events/actions/awstats-upgrade |