mirror of
https://github.com/Balshgit/mosgortrans.git
synced 2025-09-11 13:00:40 +03:00
add deamon service
This commit is contained in:
parent
a54a3809fd
commit
f4ded6ae10
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
#! /bin/bash
|
||||
|
||||
|
||||
echo "starting the bot"
|
||||
cd /opt/mosgortrans && poetry shell && python main.py
|
||||
cd /opt/mosgortrans \
|
||||
&& source /home/balsh/.cache/pypoetry/virtualenvs/mosgortrans-3eZxMcY3-py3.10/bin/activate \
|
||||
&& python main.py
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#! /bin/bash
|
||||
|
||||
|
||||
echo "shutting down the bot"
|
||||
|
Loading…
x
Reference in New Issue
Block a user