add files
This commit is contained in:
1 parent
ab8adbfa12
commit
fbb31409da
8 files changed
+775
No files matched your search
@@ -0,0 +1,22 @@
|
||||
[Unit]
|
||||
Description=Orange Pi VN Zalo ↔ Hermes Agent bridge (python-zalo-bot)
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
StartLimitIntervalSec=0
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/home/orangepi/workspace/zalo-hermes-bot
|
||||
EnvironmentFile=-/home/orangepi/workspace/zalo-hermes-bot/.env
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
ExecStart=/home/orangepi/workspace/zalo-hermes-bot/.venv/bin/python /home/orangepi/workspace/zalo-hermes-bot/bot_app.py
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
KillMode=mixed
|
||||
KillSignal=SIGTERM
|
||||
TimeoutStopSec=30
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in new issue
Block a user