1
0
mirror of https://github.com/nitezs/sub2sing-box.git synced 2024-12-23 22:04:41 -05:00
sub2sing-box/entrypoint.sh
2024-03-19 02:54:03 +08:00

10 lines
194 B
Bash

#!/bin/sh
if [ ! -d "/app/templates" ]; then
mkdir /app/templates
fi
if [ -z "$(ls -A /app/templates)" ]; then
cp -r /app/templates-origin/* /app/templates
fi
cd /app
/app/sub2sing-box server