add service example
This commit is contained in:
parent
cfbf49fe38
commit
3d1118a234
3 changed files with 15 additions and 2 deletions
|
@ -18,7 +18,7 @@ $ poetry install
|
|||
$ poetry run python -m capture_bot_san
|
||||
```
|
||||
|
||||
For the 1st run(or when it detects lacking any tokens/configs required), it will prompt to gather required access tokens and configuration. Input all of them accordingly.
|
||||
For the 1st run(or when it detects lacking any tokens/configs required), it will prompt to gather required access tokens and configurations. Input all of them accordingly.
|
||||
|
||||
|
||||
# Configuration
|
||||
|
|
13
capture_bot_san.service.example
Normal file
13
capture_bot_san.service.example
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description = capture bot san
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=/home/kazbo/src/capture_bot_san
|
||||
ExecStart = /home/kazbo/.local/bin/poetry run python -m capture_bot_san
|
||||
Restart = no
|
||||
Type = simple
|
||||
User = kazbo
|
||||
|
||||
|
||||
[Install]
|
||||
WantedBy = multi-user.target
|
Loading…
Reference in a new issue