Skip to content

Commit

Permalink
rename watgbridge.service to watgbridge.service.sample
Browse files Browse the repository at this point in the history
  • Loading branch information
akshettrj committed Oct 8, 2023
1 parent 27e6094 commit 23d6dee
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ watgbridge-build/
downloads/
imports.go
*.log
watgbridge.service
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ PRs are welcome :)
- Copy `sample_config.yaml` to `config.yaml` and fill the values, there are comments to help you.
- Execute the binary by running `./watgbridge`
- On first run, it will show QR code for logging into WhatsApp that can by scanned by the WhatsApp app in `Linked devices`
- It is recommended to restart the bot after every few hours becuase WhatsApp likes to disconnect a lot. So a Systemd service file has been provided. Edit the `User` and `ExecStart` according to your setup:
- It is recommended to restart the bot after every few hours becuase WhatsApp likes to disconnect a lot. So a sample Systemd service file has been provided (`watgbridge.service.sample`). Edit the `User` and `ExecStart` according to your setup:
- If you do not have local bot API server, remove `tgbotapi.service` from the `After` key in `Unit` section.
- This service file will restart the bot every 24 hours
File renamed without changes.

0 comments on commit 23d6dee

Please sign in to comment.