README fixed

This commit is contained in:
Oscar Krause 2022-12-27 15:28:52 +01:00
parent a91e1f7018
commit 6ddba90cd8

View File

@ -147,7 +147,8 @@ DLS_URL=127.0.0.1
DLS_PORT=443 DLS_PORT=443
LEASE_EXPIRE_DAYS=90 LEASE_EXPIRE_DAYS=90
DATABASE=sqlite:////opt/fastapi-dls/app/db.sqlite DATABASE=sqlite:////opt/fastapi-dls/app/db.sqlite
EOF
EOF
``` ```
**Create service** **Create service**
@ -177,11 +178,12 @@ NotifyAccess=all
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
``` ```
Now you have to run `systemctl daemon-reload`. After that you can start service Now you have to run `systemctl daemon-reload`. After that you can start service
with `systemctl start fastapi-dls.service`. with `systemctl start fastapi-dls.service` (and enable autostart with `systemctl enable fastapi-dls.service`).
# Configuration # Configuration