Make entry autoban opt-in, bound PPTX unpacking, unify skin DB path, prune deploy examples
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
[Unit]
|
||||
Description=Push stack ALERTs to the owner (Telegram)
|
||||
After=network-online.target
|
||||
[Service]
|
||||
Type=oneshot
|
||||
Nice=10
|
||||
ExecStart=/opt/venv/bin/python /opt/grok-gateway/grok-alert-watch.py
|
||||
@@ -1,8 +0,0 @@
|
||||
[Unit]
|
||||
Description=Grok stack alert watch, every 3 min
|
||||
[Timer]
|
||||
OnBootSec=3min
|
||||
OnUnitActiveSec=180
|
||||
Persistent=true
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
@@ -4,6 +4,7 @@ After=network-online.target new-api.service
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/opt/grok-bot/.env
|
||||
WorkingDirectory=/opt/grok-bot
|
||||
ExecStart=/opt/venv/bin/python /opt/grok-bot/iishko_bot.py
|
||||
Restart=always
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
[Unit]
|
||||
Description=Grok stack healthcheck (new-api, g2a) — oneshot, запускается таймером
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/python3 /opt/grok-gateway/grok-healthcheck.py
|
||||
@@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=Grok stack healthcheck — каждые 60с
|
||||
|
||||
[Timer]
|
||||
OnBootSec=60
|
||||
OnUnitActiveSec=60
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
@@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=TTS adapter for grok gateway
|
||||
After=network.target
|
||||
[Service]
|
||||
WorkingDirectory=/opt/grok-bot
|
||||
ExecStart=/opt/venv/bin/python /opt/grok-bot/media_tts.py
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -1,8 +1,9 @@
|
||||
[Unit]
|
||||
Description=your-handle web skin (dark multiai theme)
|
||||
Description=IISHKO gateway web skin
|
||||
After=network-online.target new-api.service
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/opt/grok-bot/.env
|
||||
TimeoutStopSec=30
|
||||
ExecStart=/opt/venv/bin/python /opt/grok-web-skin.py
|
||||
Restart=always
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
[Unit]
|
||||
Description=iishko internal-ports firewall
|
||||
After=network-pre.target
|
||||
Before=network.target
|
||||
Wants=network-pre.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/sbin/iishko-fw.sh
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -3,6 +3,7 @@ Description=iishko webapp (Mini App backend)
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/opt/grok-bot/.env
|
||||
ExecStart=/opt/venv/bin/python /opt/grok-bot/webapp/server.py
|
||||
WorkingDirectory=/opt/grok-bot/webapp
|
||||
Restart=always
|
||||
|
||||
Reference in New Issue
Block a user