view scripts/install.sh @ 2156:d2e2bb4ad044 nginx_sites_addon

move error_log directive from nginx.default.conf.luan to nginx.conf.luan
author Violet7
date Tue, 27 Jan 2026 19:44:35 -0800
parents c691cf51c2a7
children
line wrap: on
line source

#!/bin/bash
set -e

cd "$(dirname $0)"

mkdir -p /usr/local/bin

cat >/usr/local/bin/luan <<End
#!/bin/bash

source "$(pwd)/luan.sh" "\$@"
End

chmod +x /usr/local/bin/luan

echo "the command 'luan' has been installed"