mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-11 15:16:16 +01:00
19 lines
352 B
Bash
19 lines
352 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
TOPDIR=$(dirname $(readlink -f $0))
|
||
|
|
||
|
podman run \
|
||
|
--name obs-server \
|
||
|
--hostname obs-server \
|
||
|
--replace \
|
||
|
--detach \
|
||
|
--interactive \
|
||
|
--tty \
|
||
|
--volume="$TOPDIR":/opt/obs \
|
||
|
--cap-add SYS_PTRACE \
|
||
|
-p 1443:443 \
|
||
|
obs-server
|
||
|
|
||
|
sleep 0.5
|
||
|
podman exec -it obs-server /usr/bin/systemctl is-system-running --wait
|