nginx-certbot/run.sh

15 lines
165 B
Bash
Raw Permalink Normal View History

2021-06-10 03:53:47 +00:00
#!/bin/sh
nginx
# if argument(s) given - execute argument(s) in container. Otherwise loop.
if [ "$#" -gt 0 ]; then
exec $@
else
while :;
do
sleep 1
done
fi