mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-15 01:10:52 +08:00
10 lines
379 B
Bash
10 lines
379 B
Bash
|
#!/bin/sh
|
||
|
os=$(echo `uname -s`)
|
||
|
if [ $os == "Darwin" ]; then
|
||
|
./server -s "0.0.0.0|2443" -L "../libmbedcrypto.dylib;../libmbedx509.dylib;../libmbedtls.dylib" -c ../ssl_crt.pem -k ../ssl_key.pem
|
||
|
elif [ $os == "Linux" ]; then
|
||
|
./server -s "0.0.0.0|2443" -L "../libmbedcrypto.so;../libmbedx509.so;../libmbedtls.so" -c ../ssl_crt.pem -k ../ssl_key.pem
|
||
|
else
|
||
|
echo "unknown os=$os"
|
||
|
fi
|