1 |
brianr |
1.1 |
diff -urN smeserver-bandwidthd-2.0.1.2.old/createlinks smeserver-bandwidthd-2.0.1.2/createlinks |
2 |
|
|
--- smeserver-bandwidthd-2.0.1.2.old/createlinks 2020-11-27 10:06:36.931211741 +0000 |
3 |
|
|
+++ smeserver-bandwidthd-2.0.1.2/createlinks 2020-11-27 10:22:50.918321270 +0000 |
4 |
|
|
@@ -26,22 +26,26 @@ |
5 |
|
|
|
6 |
|
|
safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/var/www/bandwidthd/phphtdocs/config.conf/template-begin"); |
7 |
|
|
safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/var/www/bandwidthd/phphtdocs/config.conf/template-end"); |
8 |
|
|
-safe_symlink("../../../functions/wrapper", "root/etc/e-smith/web/panels/manager/cgi-bin/bandwidthd"); |
9 |
|
|
+#safe_symlink("../../../functions/wrapper", "root/etc/e-smith/web/panels/manager/cgi-bin/bandwidthd"); |
10 |
|
|
+ |
11 |
|
|
+#Server manager link |
12 |
|
|
+panel_link("bandwidthd","manager"); |
13 |
|
|
|
14 |
|
|
# rpm update action (invoked by yum on install and update |
15 |
|
|
-event_actions("smeserver-bandwidthd-update", qw( |
16 |
|
|
- bandwidthd-enable 20 |
17 |
|
|
- bandwidthd-start 30 |
18 |
|
|
+$contrib = "smeserver-bandwidthd"; |
19 |
|
|
+event_actions("$contrib-update", qw( |
20 |
|
|
+ systemd-default 10 |
21 |
|
|
)); |
22 |
|
|
|
23 |
|
|
-event_templates("smeserver-bandwidthd-update", qw( |
24 |
|
|
+event_templates("$contrib-update", qw( |
25 |
|
|
/etc/httpd/conf/httpd.conf |
26 |
|
|
/etc/crontab |
27 |
|
|
+ /etc/systemd/system-preset/49-koozali.preset |
28 |
|
|
+ |
29 |
|
|
)); |
30 |
|
|
|
31 |
|
|
-event_services("smeserver-bandwidthd-update", qw( |
32 |
|
|
+event_services("$contrib-update", qw( |
33 |
|
|
httpd-e-smith sigusr1 |
34 |
|
|
php-fpm reload |
35 |
|
|
)); |
36 |
|
|
|
37 |
|
|
- |