Accepting request 875976 from home:hgraeber:branches:network

- Use sysuser-tools for creation of the wsdd user and group
- Do not hijack the /run/sysconfig folder anymore
- Add missing '/'

OBS-URL: https://build.opensuse.org/request/show/875976
OBS-URL: https://build.opensuse.org/package/show/network/wsdd?expand=0&rev=12
This commit is contained in:
2021-03-01 12:44:16 +00:00
committed by Git OBS Bridge
parent f2c7c22ed7
commit 7379460409
6 changed files with 31 additions and 14 deletions

View File

@@ -9,9 +9,9 @@ AmbientCapabilities=CAP_SYS_CHROOT
PermissionsStartOnly=true
Environment= WSDD_ARGS=-p
ExecStartPre=@LIBEXECDIR@/wsdd-init.sh
EnvironmentFile=-/run/sysconfig/wsdd
EnvironmentFile=-/run/wsdd/env-vars
ExecStart=/usr/sbin/wsdd --shortlog -c /run/wsdd $WSDD_ARGS
ExecStartPost=/usr/bin/rm /run/sysconfig/wsdd
ExecStartPost=/usr/bin/rm /run/wsdd/env-vars
User=wsdd
Group=wsdd