forked from oscar.krause/fastapi-dls
postinst - fixed "cat" instead of "echo"
This commit is contained in:
parent
18d6da8ebf
commit
0f345f52ab
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo "> Install service ..."
|
echo "> Install service ..."
|
||||||
echo <<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
|
||||||
@ -36,7 +36,7 @@ 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/fastapi-dls.env
|
cat <<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
|
||||||
|
Loading…
Reference in New Issue
Block a user