Line 5: |
Line 5: |
| | | |
| ===Maintainer=== | | ===Maintainer=== |
− | [mailto:jcrisp@safeandsoundit.co.uk [[User:ReetP|Jonn C.]]] from [ https://www.reetspetit.com/ | + | [mailto:jcrisp@safeandsoundit.co.uk [[User:ReetP|Jonn C.]]] from [https://www.reetspetit.com/] |
| | | |
| === Version === | | === Version === |
Line 26: |
Line 26: |
| ===Installation=== | | ===Installation=== |
| Add EPEL repo | | Add EPEL repo |
| + | |
| /sbin/e-smith/db yum_repositories set epel repository \ | | /sbin/e-smith/db yum_repositories set epel repository \ |
| Name 'Epel - EL7' \ | | Name 'Epel - EL7' \ |
Line 39: |
Line 40: |
| signal-event yum-modify | | signal-event yum-modify |
| | | |
− | yum install smeserver-wsdd-0.1-2.noarch.rpm --enablerepo = epel,smecontribs | + | yum install smeserver-wsdd-0.1-2.noarch.rpm --enablerepo = epel,smecontribs |
| | | |
− | Signal-event reboot - the rpm now does systemctl enable wsdd
| + | signal-event reboot |
| + | |
| + | The rpm now does systemctl enable wsdd - this will be resolved correctly with the https://bugs.contribs.org/show_bug.cgi?id=11209 |
| | | |
| ====Usage==== | | ====Usage==== |
| | | |
− | [root@sme10 ~]# config show wsdd
| + | config show wsdd |
| + | |
| wsdd=service | | wsdd=service |
| TCPPorts=3702,5357 | | TCPPorts=3702,5357 |
Line 52: |
Line 56: |
| status=enabled | | status=enabled |
| | | |
− | # systemctl status wsdd
| + | Stop/Start/Restart/Disable |
− | # systemctl enable wsdd
| |
− | # systemctl start wsdd
| |
− | # systemctl restart wsdd
| |
− | # systemctl disable wsdd
| |
| | | |
− | /usr/lib/systemd/system/wsdd.service
| + | systemctl status wsdd |
− | [Unit]
| + | systemctl enable wsdd |
− | Description=Web Services Dynamic Discovery host daemon
| + | systemctl start wsdd |
− | After=network-online.target
| + | systemctl restart wsdd |
− | After=bootstrap-console.service
| + | systemctl disable wsdd |
− | Wants=network-online.target
| |
− | # Wants=smb.service
| |
| | | |
− | [Service]
| + | This will be modified with the fix in https://bugs.contribs.org/show_bug.cgi?id=11209 |
− | Type=simple
| |
− | ExecStart=/usr/bin/wsdd 4 -i eth0 -w TF_SL --shortlog
| |
− | ExecStartPre=/bin/sleep 30
| |
− | # User=wsdd
| |
− | # Group=wsdd
| |
| | | |
− | [[Category:Contrib]]
| + | Templated unit file: |
− | [[Category:Howto]] | + | |
− | [[Category:Security]] | + | /usr/lib/systemd/system/wsdd.service |
− | [[Category: Administration:Certificates]]
| + | [Unit] |
| + | Description=Web Services Dynamic Discovery host daemon |
| + | After=network-online.target |
| + | After=bootstrap-console.service |
| + | Wants=network-online.target |
| + | # Wants=smb.service |
| + | |
| + | [Service] |
| + | Type=simple |
| + | ExecStart=/usr/bin/wsdd 4 -i eth0 -w TF_SL --shortlog |
| + | ExecStartPre=/bin/sleep 30 |
| + | # User=wsdd |
| + | # Group=wsdd |
| | | |
| ====Example Usage==== | | ====Example Usage==== |
Line 85: |
Line 90: |
| | | |
| ===Known Issues=== | | ===Known Issues=== |
| + | |
| ====Security==== | | ====Security==== |
| wsdd does not implement any security feature, e.g. by using TLS for the http service. This is because wsdd's intended usage is within private, i.e. home, LANs. The Hello message contains the hosts transport address, i.e. the IP address which speeds up discovery (avoids Resolve message). | | wsdd does not implement any security feature, e.g. by using TLS for the http service. This is because wsdd's intended usage is within private, i.e. home, LANs. The Hello message contains the hosts transport address, i.e. the IP address which speeds up discovery (avoids Resolve message). |