run-iwd.sh (638B)
1 #!/bin/bash 2 3 systemd-run \ 4 --pty --wait --collect \ 5 --unit=iwd.service \ 6 --service-type=dbus \ 7 --property=BusName=net.connman.iwd \ 8 --property=NotifyAccess=main \ 9 --property=LimitNPROC=1 \ 10 --property=Restart=on-failure \ 11 --property=PrivateTmp=true \ 12 --property=NoNewPrivileges=true \ 13 --property=DevicePolicy=closed \ 14 --property=DeviceAllow=/dev/rfkill\ rw \ 15 --property=ProtectHome=yes \ 16 --property=ProtectSystem=strict \ 17 --property=ProtectControlGroups=yes \ 18 --property=ProtectKernelModules=yes \ 19 --property=ConfigurationDirectory=iwd \ 20 --property=StateDirectory=iwd \ 21 --property=StateDirectoryMode=0700 \ 22 ./src/iwd $*