1 |
jpp |
1.1 |
diff -Nur --no-dereference smeserver-yum-2.6.0.old/root/usr/lib/yum-plugins/smeserver.py smeserver-yum-2.6.0/root/usr/lib/yum-plugins/smeserver.py |
2 |
|
|
--- smeserver-yum-2.6.0.old/root/usr/lib/yum-plugins/smeserver.py 2022-03-08 01:35:44.745000000 -0500 |
3 |
|
|
+++ smeserver-yum-2.6.0/root/usr/lib/yum-plugins/smeserver.py 2022-03-08 01:37:33.286000000 -0500 |
4 |
|
|
@@ -46,11 +46,13 @@ |
5 |
|
|
# list of packages that need a service restart |
6 |
|
|
# if a package name starts with one of these values, a service restart is needed |
7 |
|
|
# since, for example, httpd means httpd-admin and httpd-e-smith, we won't use these names directly but via serviceslist (see below) |
8 |
|
|
-restartpkgs = ['dovecot','freeradius','httpd','iptables', 'mysql', 'nut', 'openldap', 'openssh', 'php', 'pptpd', 'proftp', 'samba', 'spamassassin', 'squid', 'qmail', 'qpsmtpd'] |
9 |
|
|
+restartpkgs = ['dovecot','bglibs','cvm','freeradius','httpd','iptables', 'mysql', 'nut', 'openldap', 'openssh', 'php', 'pptpd', 'proftp', 'samba', 'spamassassin', 'squid', 'qmail', 'qpsmtpd'] |
10 |
|
|
servicenames = dict() |
11 |
|
|
+servicenames['bglibs']='cvm-unix', |
12 |
|
|
+servicenames['cvm']='cvm-unix', |
13 |
|
|
servicenames['dovecot']='dovecot', |
14 |
|
|
servicenames['freeradius']='radiusd', |
15 |
|
|
-servicenames['httpd']='httpd-admin','httpd-e-smith' |
16 |
|
|
+servicenames['httpd']='httpd-admin','httpd-e-smith', |
17 |
|
|
servicenames['iptables']='masq', |
18 |
|
|
servicenames['mysql']='mysqld', |
19 |
|
|
servicenames['nut']='nut-server','nut-driver','nut-monitor', |