This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tango-tsg-container/dockerfile/firewall/usvhost_create.sh
2021-03-12 14:09:03 +08:00

6 lines
252 B
Bash
Executable File

#!/bin/bash -ex
mkdir -p /run/usvhost
python -c "import socket as s; sock = s.socket(s.AF_UNIX); sock.bind('/run/usvhost/usvhost0')"
python -c "import socket as s; sock = s.socket(s.AF_UNIX); sock.bind('/run/usvhost/usvhost1')"
exec tail -f /dev/null