mirror of
https://github.com/Balshgit/mosgortrans.git
synced 2025-12-16 21:50:39 +03:00
add deamon service
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
|
|
||||||
echo "starting the bot"
|
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"
|
echo "shutting down the bot"
|
||||||
|
|||||||
Reference in New Issue
Block a user