forked from oscar.krause/fastapi-dls
fixes
This commit is contained in:
parent
9a0db3c18f
commit
18d6da8ebf
@ -26,6 +26,7 @@ NotifyAccess=all
|
|||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
CONFIG_DIR=/etc/fastapi-dls
|
CONFIG_DIR=/etc/fastapi-dls
|
||||||
@ -35,11 +36,12 @@ mkdir -p $CONFIG_DIR
|
|||||||
|
|
||||||
echo "> Writing default config parameters ..."
|
echo "> Writing default config parameters ..."
|
||||||
touch $CONFIG_DIR/fastapi-dls.env
|
touch $CONFIG_DIR/fastapi-dls.env
|
||||||
echo <<EOF >$CONFIG_DIR
|
echo <<EOF > $CONFIG_DIR/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
|
||||||
DATABASE=sqlite:////usr/share/fastapi-dls/db.sqlite
|
DATABASE=sqlite:////usr/share/fastapi-dls/db.sqlite
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
echo "> Create dls-instance keypair ..."
|
echo "> Create dls-instance keypair ..."
|
||||||
@ -84,4 +86,5 @@ cat <<EOF
|
|||||||
# #
|
# #
|
||||||
# #
|
# #
|
||||||
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user