1 |
diff -Nur smeserver-wsdd-0.2.old/createlinks smeserver-wsdd-0.2/createlinks |
2 |
--- smeserver-wsdd-0.2.old/createlinks 2021-02-23 16:44:55.262000000 -0500 |
3 |
+++ smeserver-wsdd-0.2/createlinks 2021-02-23 16:47:37.927000000 -0500 |
4 |
@@ -7,7 +7,7 @@ |
5 |
# wsdd-update |
6 |
|
7 |
foreach (qw( |
8 |
- /usr/lib/systemd/system/wsdd.service |
9 |
+ /usr/lib/systemd/system/wsdd.service.d/50-koozali.conf |
10 |
)) |
11 |
|
12 |
{ |
13 |
@@ -31,7 +31,7 @@ |
14 |
)); |
15 |
|
16 |
event_templates($event, qw( |
17 |
- /usr/lib/systemd/system/wsdd.service |
18 |
+ /usr/lib/systemd/system/wsdd.service.d/50-koozali.conf |
19 |
/etc/systemd/system-preset/49-koozali.preset |
20 |
/etc/rc.d/init.d/masq |
21 |
)); |
22 |
diff -Nur smeserver-wsdd-0.2.old/root/etc/e-smith/templates/usr/lib/systemd/system/wsdd.service/10Unit smeserver-wsdd-0.2/root/etc/e-smith/templates/usr/lib/systemd/system/wsdd.service/10Unit |
23 |
--- smeserver-wsdd-0.2.old/root/etc/e-smith/templates/usr/lib/systemd/system/wsdd.service/10Unit 2020-07-06 06:54:46.000000000 -0400 |
24 |
+++ smeserver-wsdd-0.2/root/etc/e-smith/templates/usr/lib/systemd/system/wsdd.service/10Unit 1969-12-31 19:00:00.000000000 -0500 |
25 |
@@ -1,8 +0,0 @@ |
26 |
-[Unit] |
27 |
-Description=Web Services Dynamic Discovery host daemon |
28 |
-; Start after the network has been configured |
29 |
-After=bootstrap-console.service |
30 |
-Wants=network-online.target |
31 |
-; After=network-online.target |
32 |
-; It makes sense to have Samba running when wsdd starts, but is not required |
33 |
-; Wants=smb.service |
34 |
diff -Nur smeserver-wsdd-0.2.old/root/etc/e-smith/templates/usr/lib/systemd/system/wsdd.service/20Service smeserver-wsdd-0.2/root/etc/e-smith/templates/usr/lib/systemd/system/wsdd.service/20Service |
35 |
--- smeserver-wsdd-0.2.old/root/etc/e-smith/templates/usr/lib/systemd/system/wsdd.service/20Service 2020-07-06 07:39:17.000000000 -0400 |
36 |
+++ smeserver-wsdd-0.2/root/etc/e-smith/templates/usr/lib/systemd/system/wsdd.service/20Service 1969-12-31 19:00:00.000000000 -0500 |
37 |
@@ -1,10 +0,0 @@ |
38 |
-[Service] |
39 |
-Type=simple |
40 |
-; ExecStartPre=/bin/sleep 30 |
41 |
- |
42 |
-{ |
43 |
- $OUT .= "ExecStart=/usr/bin/wsdd -4 -i $InternalInterface{Name} -w $smb{Workgroup} -s"; |
44 |
-} |
45 |
- |
46 |
-User=wsdd |
47 |
-Group=wsdd |
48 |
diff -Nur smeserver-wsdd-0.2.old/root/etc/e-smith/templates/usr/lib/systemd/system/wsdd.service/30Install smeserver-wsdd-0.2/root/etc/e-smith/templates/usr/lib/systemd/system/wsdd.service/30Install |
49 |
--- smeserver-wsdd-0.2.old/root/etc/e-smith/templates/usr/lib/systemd/system/wsdd.service/30Install 2021-02-23 16:44:55.255000000 -0500 |
50 |
+++ smeserver-wsdd-0.2/root/etc/e-smith/templates/usr/lib/systemd/system/wsdd.service/30Install 1969-12-31 19:00:00.000000000 -0500 |
51 |
@@ -1,2 +0,0 @@ |
52 |
-[Install] |
53 |
-WantedBy=sme-server.target |
54 |
diff -Nur smeserver-wsdd-0.2.old/root/etc/e-smith/templates/usr/lib/systemd/system/wsdd.service.d/50-koozali.conf/10Unit smeserver-wsdd-0.2/root/etc/e-smith/templates/usr/lib/systemd/system/wsdd.service.d/50-koozali.conf/10Unit |
55 |
--- smeserver-wsdd-0.2.old/root/etc/e-smith/templates/usr/lib/systemd/system/wsdd.service.d/50-koozali.conf/10Unit 1969-12-31 19:00:00.000000000 -0500 |
56 |
+++ smeserver-wsdd-0.2/root/etc/e-smith/templates/usr/lib/systemd/system/wsdd.service.d/50-koozali.conf/10Unit 2020-07-06 06:54:46.000000000 -0400 |
57 |
@@ -0,0 +1,8 @@ |
58 |
+[Unit] |
59 |
+Description=Web Services Dynamic Discovery host daemon |
60 |
+; Start after the network has been configured |
61 |
+After=bootstrap-console.service |
62 |
+Wants=network-online.target |
63 |
+; After=network-online.target |
64 |
+; It makes sense to have Samba running when wsdd starts, but is not required |
65 |
+; Wants=smb.service |
66 |
diff -Nur smeserver-wsdd-0.2.old/root/etc/e-smith/templates/usr/lib/systemd/system/wsdd.service.d/50-koozali.conf/20Service smeserver-wsdd-0.2/root/etc/e-smith/templates/usr/lib/systemd/system/wsdd.service.d/50-koozali.conf/20Service |
67 |
--- smeserver-wsdd-0.2.old/root/etc/e-smith/templates/usr/lib/systemd/system/wsdd.service.d/50-koozali.conf/20Service 1969-12-31 19:00:00.000000000 -0500 |
68 |
+++ smeserver-wsdd-0.2/root/etc/e-smith/templates/usr/lib/systemd/system/wsdd.service.d/50-koozali.conf/20Service 2020-07-06 07:39:17.000000000 -0400 |
69 |
@@ -0,0 +1,10 @@ |
70 |
+[Service] |
71 |
+Type=simple |
72 |
+; ExecStartPre=/bin/sleep 30 |
73 |
+ |
74 |
+{ |
75 |
+ $OUT .= "ExecStart=/usr/bin/wsdd -4 -i $InternalInterface{Name} -w $smb{Workgroup} -s"; |
76 |
+} |
77 |
+ |
78 |
+User=wsdd |
79 |
+Group=wsdd |
80 |
diff -Nur smeserver-wsdd-0.2.old/root/etc/e-smith/templates/usr/lib/systemd/system/wsdd.service.d/50-koozali.conf/30Install smeserver-wsdd-0.2/root/etc/e-smith/templates/usr/lib/systemd/system/wsdd.service.d/50-koozali.conf/30Install |
81 |
--- smeserver-wsdd-0.2.old/root/etc/e-smith/templates/usr/lib/systemd/system/wsdd.service.d/50-koozali.conf/30Install 1969-12-31 19:00:00.000000000 -0500 |
82 |
+++ smeserver-wsdd-0.2/root/etc/e-smith/templates/usr/lib/systemd/system/wsdd.service.d/50-koozali.conf/30Install 2021-02-23 16:44:55.255000000 -0500 |
83 |
@@ -0,0 +1,2 @@ |
84 |
+[Install] |
85 |
+WantedBy=sme-server.target |
86 |
diff -Nur smeserver-wsdd-0.2.old/root/etc/yum/post-actions/wsdd smeserver-wsdd-0.2/root/etc/yum/post-actions/wsdd |
87 |
--- smeserver-wsdd-0.2.old/root/etc/yum/post-actions/wsdd 1969-12-31 19:00:00.000000000 -0500 |
88 |
+++ smeserver-wsdd-0.2/root/etc/yum/post-actions/wsdd 2021-02-23 16:51:02.243000000 -0500 |
89 |
@@ -0,0 +1 @@ |
90 |
+wsdd:any:/sbin/e-smith/signal-event smeserver-wsdd-update |