Accepting request 830478 from home:hgraeber:branches:network

- Fix use of /usr/lib and /usr/libexec

OBS-URL: https://build.opensuse.org/request/show/830478
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=6
This commit is contained in:
2020-08-29 18:06:42 +00:00
committed by Git OBS Bridge
parent abffde5c42
commit 47c93cab1b
3 changed files with 19 additions and 12 deletions

19
wsdd.service.in Normal file
View File

@@ -0,0 +1,19 @@
[Unit]
Description=Web Services Dynamic Discovery host daemon
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
AmbientCapabilities=CAP_SYS_CHROOT
PermissionsStartOnly=true
Environment= WSDD_ARGS=-p
ExecStartPre=@LIBEXECDIR@/wsdd-init.sh
EnvironmentFile=-/run/sysconfig/wsdd
ExecStart=/usr/sbin/wsdd --shortlog -c /run/wsdd $WSDD_ARGS
ExecStartPost=/usr/bin/rm /run/sysconfig/wsdd
User=wsdd
Group=wsdd
[Install]
WantedBy=multi-user.target