freyanet/deployments/docker/entrypoint.sh

13 lines
179 B
Bash
Raw Normal View History

2023-12-30 20:23:30 +00:00
#!/bin/sh
if [ "$#" = "0" ]; then
step "Starting OpenRC"
rm -rf /run/openrc 2>/dev/null
mkdir /run/openrc
touch /run/openrc/softlevel
exec /sbin/openrc
else
"$@"
fi