correct path + mkdir .config/systemd/user

This commit is contained in:
murmeldin 2025-02-09 01:26:57 +01:00
parent 059191b545
commit 3f051f4436
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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