Add stdout and systemd service file, change drone ci file
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
santic-zombie
2023-01-18 01:23:29 +03:00
parent d079442e6a
commit 031bb11751
4 changed files with 31 additions and 16 deletions

14
tox_bot.service Normal file
View File

@@ -0,0 +1,14 @@
[Unit]
Description=Tox bot
[Service]
Type=simple
WorkingDirectory=/home/tox/tox_bot
ExecStart=/home/tox/tox_bot/echo_bot
StandardOutput=append:/home/tox/tox_bot/echo_bot.log
StandardError=append:/home/tox/tox_bot/echo_bot.log
User=tox
Restart=on-failure
[Install]
WantedBy=multi-user.target