mirror of
https://github.com/house-of-vanity/conf_bot.git
synced 2025-07-06 22:34:07 +00:00
test
This commit is contained in:
17
conf-bot.service
Normal file
17
conf-bot.service
Normal file
@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=Telegram spy bot.
|
||||
[Service]
|
||||
Type=simple
|
||||
User=ab
|
||||
Group=ab
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
StartLimitInterval=60s
|
||||
StartLimitBurst=3
|
||||
WorkingDirectory=/var/lib/conf_bot
|
||||
ExecStart=/usr/bin/python3 /var/lib/conf_bot/main.py
|
||||
ExecStop=killall -TERM /usr/bin/python3 /var/lib/conf_bot/main.py
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
|
Reference in New Issue
Block a user