This commit is contained in:
15
jack_bot.service
Normal file
15
jack_bot.service
Normal file
@@ -0,0 +1,15 @@
|
||||
# пример того что лежит на хосте
|
||||
[Unit]
|
||||
Description=pipisa-bot
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=jack
|
||||
Type=simple
|
||||
Restart=always
|
||||
WorkingDirectory=/usr/share/python_bot
|
||||
ExecStart=/usr/bin/python3 /usr/share/python_bot/bot.py
|
||||
ExecStart=/usr/bin/python3 /usr/share/python_bot/bot.py
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target#
|
||||
Reference in New Issue
Block a user