diff options
| author | Igor <2006giqhpmine.ru@gmail.com> | 2022-01-29 22:03:35 +0900 |
|---|---|---|
| committer | Igor <2006giqhpmine.ru@gmail.com> | 2022-01-29 22:03:35 +0900 |
| commit | a43fb36f44655e7c142c7973d548e8505fb1cda4 (patch) | |
| tree | 20ab9e42a460f39670894ff1d8f7664566ae2241 /FunnyPineappleBot.sample.service | |
| parent | 3d0849f973e5574812a90f2bc5fdd66db4a599b2 (diff) | |
| download | karpov_ai_bot-a43fb36f44655e7c142c7973d548e8505fb1cda4.tar.gz karpov_ai_bot-a43fb36f44655e7c142c7973d548e8505fb1cda4.zip | |
Add docker ))
Diffstat (limited to 'FunnyPineappleBot.sample.service')
| -rw-r--r-- | FunnyPineappleBot.sample.service | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/FunnyPineappleBot.sample.service b/FunnyPineappleBot.sample.service deleted file mode 100644 index 210b267..0000000 --- a/FunnyPineappleBot.sample.service +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 1 | [Unit] | ||
| 2 | Description=Telegram bot from FunnyPineappleChat | ||
| 3 | After=syslog.target | ||
| 4 | After=network.target | ||
| 5 | |||
| 6 | [Service] | ||
| 7 | Type=simple | ||
| 8 | User={username} | ||
| 9 | WorkingDirectory={path} | ||
| 10 | ExecStart={py_path} main.py -m | ||
| 11 | KillMode=control-group | ||
| 12 | KillSignal=15 | ||
| 13 | SendSIGKILL={send_kill} | ||
| 14 | RestartSec=5 | ||
| 15 | Restart=always | ||
| 16 | |||
| 17 | [Install] | ||
| 18 | WantedBy=multi-user.target \ No newline at end of file | ||
