From 33900332b35181ed3d213191943c6cf8f6889092 Mon Sep 17 00:00:00 2001 From: Stephan Wendel Date: Tue, 7 Dec 2021 19:34:41 +0100 Subject: [PATCH] BUGFIX: Bug in install.sh install.sh linked crutial files instead of copying Signed-off-by: Stephan Wendel --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 4eda12e..a7055ec 100755 --- a/install.sh +++ b/install.sh @@ -193,11 +193,11 @@ function install_crowsnest { fi ## Link webcamd.service echo -en "Copying webcamd.service file ...\r" - sudo ln -sf "${servicefile}" /etc/systemd/system/webcamd.service > /dev/null + sudo cp -rf "${servicefile}" /etc/systemd/system/webcamd.service > /dev/null echo -e "Copying webcamd.service file ... [OK]\r" ## Link logrotate echo -en "Linking logrotate file ...\r" - sudo ln -sf "${logrotatefile}" /etc/logrotate.d/webcamd + sudo cp -rf "${logrotatefile}" /etc/logrotate.d/webcamd echo -e "Linking logrotate file ... [OK]\r" echo -en "Reload systemd to enable new deamon ...\r" sudo systemctl daemon-reload