make pipisa secure
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
hogweed1
2024-07-03 17:38:45 +10:00
parent 55e5303ab2
commit d41eeb3232
4 changed files with 32 additions and 8 deletions

15
jack_bot.service Normal file
View 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#