mirror of
https://github.com/HugeFrog24/go-telegram-bot.git
synced 2026-03-02 00:14:34 +00:00
Precision and dep upgrade
This commit is contained in:
@@ -61,13 +61,13 @@ To enable the bot to start automatically on system boot and run in the backgroun
|
||||
|
||||
Edit the service file:
|
||||
```bash
|
||||
nano /etc/systemd/system/telegram-bot.service
|
||||
sudo nano /etc/systemd/system/telegram-bot.service
|
||||
```
|
||||
|
||||
Adjust the following parameters:
|
||||
- `WorkingDirectory`
|
||||
- `ExecStart`
|
||||
- `User`
|
||||
- WorkingDirectory
|
||||
- ExecStart
|
||||
- User
|
||||
|
||||
3. Enable and start the service:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user