From 68e7e1432f95741858cab7cd9fe241bf5caea890 Mon Sep 17 00:00:00 2001 From: murmeldin Date: Wed, 15 Jan 2025 14:25:45 +0100 Subject: [PATCH] right path --- util/install_script_ubuntu.sh | 2 +- util/update_or_create_systemd_service.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/util/install_script_ubuntu.sh b/util/install_script_ubuntu.sh index ed33ef2..955e926 100644 --- a/util/install_script_ubuntu.sh +++ b/util/install_script_ubuntu.sh @@ -16,4 +16,4 @@ sudo apt update sudo apt upgrade -y sudo apt install gcc libssl-dev pandoc pkg-config libsqlite3-dev cargo build --release -./update_or_create_systemd_service.sh \ No newline at end of file +sudo ./update_or_create_systemd_service.sh \ No newline at end of file diff --git a/util/update_or_create_systemd_service.sh b/util/update_or_create_systemd_service.sh index eb8271f..596fb37 100644 --- a/util/update_or_create_systemd_service.sh +++ b/util/update_or_create_systemd_service.sh @@ -3,8 +3,8 @@ # This script can be run to update or newly install # the systemd services needed for sudo -i -cat systemd/plenumbot.service > /etc/systemd/system/plenumsbot.service -cat systemd/plenumbot.timer > /etc/systemd/system/plenumsbot.timer +cat ../systemd/plenumbot.service > /etc/systemd/system/plenumsbot.service +cat ../systemd/plenumbot.timer > /etc/systemd/system/plenumsbot.timer chmod 755 /etc/systemd/system/plenumsbot.timer chmod 755 /etc/systemd/system/plenumsbot.service