Line 21: |
Line 21: |
| | | |
| ===Installation=== | | ===Installation=== |
| + | Add EPEL repo |
| + | /sbin/e-smith/db yum_repositories set epel repository \ |
| + | Name 'Epel - EL7' \ |
| + | BaseURL 'http://download.fedoraproject.org/pub/epel/7/$basearch' \ |
| + | MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-7&arch=$basearch' \ |
| + | EnableGroups no \ |
| + | GPGCheck yes \ |
| + | GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \ |
| + | Exclude perl-Razor-Agent \ |
| + | Visible no \ |
| + | status disabled |
| + | |
| + | signal-event yum-modify |
| + | |
| + | yum install smeserver-wsdd-0.1-2.noarch.rpm --enablerepo = epel,smecontribs |
| + | |
| + | Signal-event reboot - the rpm now does systemctl enable wsdd |
| | | |
| ===Usage=== | | ===Usage=== |
| + | |
| + | [root@sme10 ~]# config show wsdd |
| + | wsdd=service |
| + | TCPPorts=3702,5357 |
| + | UDPPort=3702 |
| + | access=private |
| + | status=enabled |
| + | |
| + | # systemctl status wsdd |
| + | # systemctl enable wsdd |
| + | # systemctl start wsdd |
| + | # systemctl restart wsdd |
| + | # systemctl disable wsdd |
| + | |
| + | /usr/lib/systemd/system/wsdd.service |
| + | [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 |