Last active
June 22, 2025 16:53
-
-
Save JOduMonT/252d3f1b83473000e01e553ae560a59d to your computer and use it in GitHub Desktop.
OctoBot Service on Clear Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## ADJUST THE VERSION BEFORE | |
### https://github.com/Drakkar-Software/OctoBot/releases | |
VERSION=2.0.12 | |
sudo swupd bundle-add wget-bin | |
sudo wget -O /usr/local/bin/OctoBot_linux_x64 https://github.com/Drakkar-Software/OctoBot/releases/download/$VERSION/OctoBot_linux_x64 | |
sudo chmod +x /home/OctoBot_linux_x64 | |
## USER | |
sudo useradd -r -s /bin/false octobot | |
sudo mkdir /home/octobot | |
sudo chown octobot:octobot /home/octobot | |
## SERVICE | |
sudo echo \ | |
"[Unit] | |
Description=OctoBot Trading Robot | |
After=network.target | |
[Service] | |
Type=simple | |
User=octobot | |
Group=octobot | |
WorkingDirectory=/home/octobot | |
## in home instead of usr, bin, ... | |
## to ease the backup aka /home | |
ExecStart=/home/OctoBot_linux_x64 | |
Restart=always | |
RestartSec=10 | |
StandardOutput=journal | |
StandardError=journal | |
[Install] | |
WantedBy=multi-user.target | |
" | tee /etc/systemd/system/octobot.service | |
sudo systemctl daemon-reload | |
sudo systemctl enable octobot.service | |
sudo systemctl start octobot.service | |
systemctl status octobot.service | |
#journalctl -u octobot.service -f | |
## SECURE SSHD | |
### Ensure your ssh key in a user on the server; then run these | |
# sudo wget -O /etc/ssh/sshd_config https://raw.githubusercontent.com/JOduMonT/ubuntu/refs/heads/main/etc/ssh/sshd_config | |
# sudo systemctl restart sshd.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why Using Clear Linux ?
Mostly Crypto Trading need speed to be accurate and reliable
You litterally simply have to download and launch OctoBot.
+ everything is in /home to simply backups