#!/bin/sh

# This script can be run to update or newly install
# the systemd services needed for 
mkdir -p $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
chmod 755 $HOME/.config/systemd/user/Plenum-Bot.service

systemctl daemon-reload --user