forked from Pavel_Durov/python_bot
15 lines
346 B
Desktop File
15 lines
346 B
Desktop File
# пример того что лежит на хосте
|
|
[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# |