Update tandoor-install.sh
This commit is contained in:
parent
73e287d617
commit
6d0eb6d243
@ -101,7 +101,7 @@ cd /opt/tandoor
|
|||||||
msg_ok "Installed Tandoor"
|
msg_ok "Installed Tandoor"
|
||||||
|
|
||||||
msg_info "Creating Services"
|
msg_info "Creating Services"
|
||||||
cat <<'EOF' >/etc/systemd/system/tandoor.service
|
cat <<EOF >/etc/systemd/system/tandoor.service
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=gunicorn daemon for tandoor
|
Description=gunicorn daemon for tandoor
|
||||||
After=network.target
|
After=network.target
|
||||||
@ -118,7 +118,7 @@ ExecStart=/opt/tandoor/.venv/bin/gunicorn --error-logfile /tmp/gunicorn_err.log
|
|||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat <<'EOF' >/etc/nginx/conf.d/tandoor.conf
|
cat <<EOF >/etc/nginx/conf.d/tandoor.conf
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
#access_log /var/log/nginx/access.log;
|
#access_log /var/log/nginx/access.log;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user