code styling

This commit is contained in:
Oscar Krause 2022-12-28 07:04:10 +01:00
parent 65937b153e
commit 9744a8f0e8

View File

@ -150,7 +150,7 @@ su - www-data -c "/opt/fastapi-dls/venv/bin/uvicorn main:app --app-dir=/opt/fast
**Create config file** **Create config file**
```shell ```shell
cat <<EOF > /etc/fastapi-dls/env cat <<EOF >/etc/fastapi-dls/env
DLS_URL=127.0.0.1 DLS_URL=127.0.0.1
DLS_PORT=443 DLS_PORT=443
LEASE_EXPIRE_DAYS=90 LEASE_EXPIRE_DAYS=90
@ -162,7 +162,7 @@ EOF
**Create service** **Create service**
```shell ```shell
cat <<EOF > /etc/systemd/system/fastapi-dls.service cat <<EOF >/etc/systemd/system/fastapi-dls.service
[Unit] [Unit]
Description=Service for fastapi-dls Description=Service for fastapi-dls
After=network.target After=network.target