Updated install steps

This commit is contained in:
mrhanky 2017-08-22 20:33:28 +02:00
parent f715107873
commit 7924d9119e
No known key found for this signature in database
GPG Key ID: 67D772C481CB41B8

View File

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