From 3f051f4436ea054e3ae892ffdad7b71208af684a Mon Sep 17 00:00:00 2001 From: murmeldin Date: Sun, 9 Feb 2025 01:26:57 +0100 Subject: [PATCH] correct path + mkdir .config/systemd/user --- util/install_script_ubuntu.sh | 2 +- util/update_or_create_systemd_service.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/util/install_script_ubuntu.sh b/util/install_script_ubuntu.sh index ec53a3b..95b32b8 100644 --- a/util/install_script_ubuntu.sh +++ b/util/install_script_ubuntu.sh @@ -15,5 +15,5 @@ git pull sudo apt update sudo apt upgrade -y sudo apt install gcc libssl-dev pandoc pkg-config libsqlite3-dev -cargo install --path . +cargo install --path $HOME/plenum-bot ./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 8a09bba..9d35a03 100644 --- a/util/update_or_create_systemd_service.sh +++ b/util/update_or_create_systemd_service.sh @@ -2,6 +2,7 @@ # This script can be run to update or newly install # the systemd services needed for +mkdir $HOME/.config/systemd/user/ cat ../systemd/plenumbot.service > $HOME/.config/systemd/user/Plenum-Bot.service cat ../systemd/plenumbot.timer > $HOME/.config/systemd/user/Plenum-Bot.timer chmod 755 $HOME/.config/systemd/user/Plenum-Bot.timer