Skip to content
This repository has been archived by the owner on Apr 6, 2024. It is now read-only.

简易 Status Page

Ciel edited this page Nov 11, 2020 · 1 revision
socat TCP-LISTEN:80,fork,reuseaddr EXEC:"grep Success /path/to/reporter.log"
[Unit]
Description=JLU Health Reporter Status Page
After=network.target
Wants=network.target

[Service]
Type=simple
ExecStart=/usr/bin/socat TCP-LISTEN:80,fork,reuseaddr EXEC:"grep Success /path/to/reporter.log"
Restart=always

[Install]
WantedBy=multi-user.target
Clone this wiki locally