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