From 348db7649b66da7ff0229d3a58e00987d6a42c70 Mon Sep 17 00:00:00 2001 From: Lightemerald Date: Sat, 13 May 2023 18:13:50 +0200 Subject: [PATCH] Updated README --- README.md | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 36cb879..8c65526 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,12 @@ This repo contains the script to manage multiple mcr bot on a single VM/Containe ├── start.sh ├── setup-fedora.sh ├── setup-vpn.sh -│ ├── Microsoft-Rewards-bot -│ │ ├── ms_rewards_farmer.py -│ │ ├── vpnname.json -│ ├── vpn -│ │ ├── vpnname.ovpn +├── update.sh +├── Microsoft-Rewards-bot +│ ├── ms_rewards_farmer.py +│ ├── vpnname.json +├── vpn +│ ├── vpnname.ovpn ``` ## How to run @@ -20,25 +21,31 @@ This repo contains the script to manage multiple mcr bot on a single VM/Containe Clone the project ```bash - curl -sSL https://git.justw.tf/Lightemerald/mcr-bot/raw/branch/main/setup-fedora.sh | bash +curl -sSL https://git.justw.tf/Lightemerald/mcr-bot/raw/branch/main/setup-fedora.sh | bash ``` Add your VPN files to `./vpn` then run ```bash - sh setup-vpn.sh +sh setup-vpn.sh ``` Copy your accounts file named as [vpnname].json in the Bot then run ```bash - sh start.sh +sh start.sh ``` ### If using LXC Execute this command to allow the container to use TUN kernel module, replace [id_ct] with the LXC id in proxmox ```bash - echo -e "lxc.cgroup.devices.allow: c 10:200 rwm\nlxc.mount.entry: /dev/net/tun dev/net/tun none bind,create=file" >> /etc/pve/lxc/[id_ct].conf +echo -e "lxc.cgroup.devices.allow: c 10:200 rwm\nlxc.mount.entry: /dev/net/tun dev/net/tun none bind,create=file" >> /etc/pve/lxc/[id_ct].conf ``` -ps: container must be powered off before and restarted only after \ No newline at end of file +ps: container must be powered off before and restarted only after + +## How to update + +```bash +sh update.sh +``` \ No newline at end of file