2020-04-28 07:53:42 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Web Services Dynamic Discovery host daemon
|
|
|
|
After=network-online.target
|
|
|
|
Wants=network-online.target
|
|
|
|
|
|
|
|
[Service]
|
2021-11-25 11:15:33 +00:00
|
|
|
ProtectSystem=full
|
|
|
|
ProtectHome=true
|
|
|
|
ProtectHostname=true
|
|
|
|
ProtectKernelTunables=true
|
|
|
|
ProtectKernelModules=true
|
|
|
|
ProtectKernelLogs=true
|
|
|
|
ProtectControlGroups=true
|
|
|
|
RestrictRealtime=true
|
2020-04-28 07:53:42 +00:00
|
|
|
Type=simple
|
|
|
|
AmbientCapabilities=CAP_SYS_CHROOT
|
|
|
|
Environment= WSDD_ARGS=-p
|
2020-08-29 18:06:42 +00:00
|
|
|
ExecStartPre=@LIBEXECDIR@/wsdd-init.sh
|
2021-03-01 12:44:16 +00:00
|
|
|
EnvironmentFile=-/run/wsdd/env-vars
|
2020-04-28 07:53:42 +00:00
|
|
|
ExecStart=/usr/sbin/wsdd --shortlog -c /run/wsdd $WSDD_ARGS
|
2021-03-01 12:44:16 +00:00
|
|
|
ExecStartPost=/usr/bin/rm /run/wsdd/env-vars
|
2020-04-28 07:53:42 +00:00
|
|
|
User=wsdd
|
|
|
|
Group=wsdd
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|