without root
This commit is contained in:
parent
665b9ba013
commit
059191b545
|
@ -16,4 +16,4 @@ sudo apt update
|
||||||
sudo apt upgrade -y
|
sudo apt upgrade -y
|
||||||
sudo apt install gcc libssl-dev pandoc pkg-config libsqlite3-dev
|
sudo apt install gcc libssl-dev pandoc pkg-config libsqlite3-dev
|
||||||
cargo install --path .
|
cargo install --path .
|
||||||
sudo ./update_or_create_systemd_service.sh
|
./update_or_create_systemd_service.sh
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
# This script can be run to update or newly install
|
# This script can be run to update or newly install
|
||||||
# the systemd services needed for
|
# the systemd services needed for
|
||||||
sudo -i
|
|
||||||
cat ../systemd/plenumbot.service > $HOME/.config/systemd/user/Plenum-Bot.service
|
cat ../systemd/plenumbot.service > $HOME/.config/systemd/user/Plenum-Bot.service
|
||||||
cat ../systemd/plenumbot.timer > $HOME/.config/systemd/user/Plenum-Bot.timer
|
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.timer
|
||||||
|
|
Loading…
Reference in a new issue