Updated install steps
This commit is contained in:
parent
f715107873
commit
7924d9119e
@ -33,7 +33,7 @@ cp nxy/files/{.env,config.json} .
|
||||
vim .env config.json
|
||||
```
|
||||
|
||||
Enable linger for the bot user (so it starts at boot and keeps running) and install + activate systemd unit:
|
||||
Enable linger for the bot user (so it starts at boot and keeps running), install and activate systemd unit:
|
||||
```sh
|
||||
sudo loginctl enable-linger nxy
|
||||
mkdir -p $HOME/.config/systemd/user
|
||||
@ -41,7 +41,7 @@ ln -fs $HOME/nxy/files/nxy-bot.service $HOME/.config/systemd/user
|
||||
systemctl --user enable --now nxy-bot.service
|
||||
```
|
||||
|
||||
Create directory for database dumps and activate timer:
|
||||
Install and activate timer for database dumps:
|
||||
```sh
|
||||
ln -fs $HOME/nxy/files/nxy-db-dump.{timer,service} $HOME/.config/systemd/user
|
||||
systemctl --user enable --now nxy-db-dump.timer
|
||||
|
Loading…
Reference in New Issue
Block a user