wsdd/wsdd.service.in
Herbert Graeber c1cb3ba88a Accepting request 933657 from home:hgraeber:branches:network
- Version 0.7.0
  * Using the server interface it is now possible to start and stop the
    host functionality (discoverable device) without terminating and
    restarting the daemon.
  * Support multiple IP addresses in 'hello' messages from other hosts (#89)
  * Support interfaces with IPv6-only configuration (#94)
  * Re-enable 'probe' command of API (#116)
  * Removed code marked as deprecated starting with Python 3.10.
  * The example systemd unit file now uses DynamicUser instead of the unsafe
    nobody:nobody combination. It also employs the rundir as chroot directory.
  * Code changed to use asyncio instead of selector-based
  * The server interface does not close connections after each command anymore.
  * For the 'list' command of the server interface, the list of discovered
    devices is terminated with a line containing only a single dot ('.')
  * Log device discovery only once per address and interface
- Some systemd hardening

OBS-URL: https://build.opensuse.org/request/show/933657
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=20
2021-11-25 11:15:33 +00:00

27 lines
622 B
SYSTEMD

[Unit]
Description=Web Services Dynamic Discovery host daemon
After=network-online.target
Wants=network-online.target
[Service]
ProtectSystem=full
ProtectHome=true
ProtectHostname=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
Type=simple
AmbientCapabilities=CAP_SYS_CHROOT
Environment= WSDD_ARGS=-p
ExecStartPre=@LIBEXECDIR@/wsdd-init.sh
EnvironmentFile=-/run/wsdd/env-vars
ExecStart=/usr/sbin/wsdd --shortlog -c /run/wsdd $WSDD_ARGS
ExecStartPost=/usr/bin/rm /run/wsdd/env-vars
User=wsdd
Group=wsdd
[Install]
WantedBy=multi-user.target