From 0f345f52ab1a79ccf3f5842e51c74246024557da Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Wed, 28 Dec 2022 06:46:42 +0100 Subject: [PATCH] postinst - fixed "cat" instead of "echo" --- DEBIAN/postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DEBIAN/postinst b/DEBIAN/postinst index c7d374e..7562e31 100644 --- a/DEBIAN/postinst +++ b/DEBIAN/postinst @@ -1,7 +1,7 @@ #!/bin/bash echo "> Install service ..." -echo </etc/systemd/system/fastapi-dls.service +cat < /etc/systemd/system/fastapi-dls.service [Unit] Description=Service for fastapi-dls After=network.target @@ -36,7 +36,7 @@ mkdir -p $CONFIG_DIR echo "> Writing default config parameters ..." touch $CONFIG_DIR/fastapi-dls.env -echo < $CONFIG_DIR/fastapi-dls.env +cat < $CONFIG_DIR/fastapi-dls.env DLS_URL=127.0.0.1 DLS_PORT=443 LEASE_EXPIRE_DAYS=90