惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

人人都是产品经理
人人都是产品经理
The Hacker News
The Hacker News
D
Darknet – Hacking Tools, Hacker News & Cyber Security
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
L
Lohrmann on Cybersecurity
MyScale Blog
MyScale Blog
GbyAI
GbyAI
博客园 - 【当耐特】
J
Java Code Geeks
Jina AI
Jina AI
I
InfoQ
The Register - Security
The Register - Security
Cyberwarzone
Cyberwarzone
Scott Helme
Scott Helme
S
Schneier on Security
WordPress大学
WordPress大学
月光博客
月光博客
C
Cybersecurity and Infrastructure Security Agency CISA
AWS News Blog
AWS News Blog
The Cloudflare Blog
Google DeepMind News
Google DeepMind News
P
Privacy & Cybersecurity Law Blog
P
Proofpoint News Feed
T
The Exploit Database - CXSecurity.com
Blog — PlanetScale
Blog — PlanetScale
博客园 - Franky
Simon Willison's Weblog
Simon Willison's Weblog
T
Threatpost
Project Zero
Project Zero
I
Intezer
Know Your Adversary
Know Your Adversary
A
About on SuperTechFans
S
Security Affairs
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 聂微东
P
Proofpoint News Feed
Cloudbric
Cloudbric
V2EX - 技术
V2EX - 技术
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
S
Secure Thoughts
IT之家
IT之家
Forbes - Security
Forbes - Security
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
The Last Watchdog
The Last Watchdog
H
Heimdal Security Blog
Schneier on Security
Schneier on Security
Webroot Blog
Webroot Blog
Apple Machine Learning Research
Apple Machine Learning Research

puzzle9 blog

webdav - puzzle9 blog parser video tencent - puzzle9 blog wstunnel - puzzle9 blog rclone - puzzle9 blog debian 转换为 pve - puzzle9 blog nfs - puzzle9 blog caddy - puzzle9 blog win 系统部署 by WinRM - puzzle9 blog hl7 初探 - puzzle9 blog realm 端口转发 - puzzle9 blog airflow - puzzle9 blog mysql 迁移到 mssql - puzzle9 blog 租房啊 - puzzle9 blog cr660x 路由器研究 - puzzle9 blog hs8145v 光猫研究 - puzzle9 blog dae 跨墙 - puzzle9 blog ZeroTier 打洞 🕊 - puzzle9 blog rathole 穿透 - puzzle9 blog WireGuard 组网 - puzzle9 blog
webhookd 发布 - puzzle9 blog
2025-08-14 · via puzzle9 blog

webhookd 发布

发布于:2025-08-14 16:30:57 访问:

要说 什么简单 与 复杂并存

唯有 发布

就是有点耗 流量摸鱼

定义

这是个回调通知工具 是属于被动的

安装

直接下载 releases 就行

1
2
3
4
mkdir -p /data/webhookd/logs
cd /data/webhookd/
wget https://github.com/ncarlier/webhookd/releases/download/v1.20.2/webhookd-linux-amd64.tgz
tar -xvf webhookd-linux-amd64.tgz

/etc/systemd/system/webhookd.service

1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=WEBHOOKD

[Service]
ExecStart=/data/webhookd/webhookd
User={user}
Group={user}
EnvironmentFile=-/data/webhookd/webhookd.env
Restart=always
Type=simple
RestartSec=30s

[Install]
WantedBy=multi-user.target

/data/webhookd/webhookd.env

1
2
3
4
5
6
7
8
9
###
# Webhookd configuration
###
WHD_LISTEN_ADDR=":9310"
WHD_HOOK_DEFAULT_EXT=sh
WHD_HOOK_TIMEOUT=600
WHD_HOOK_SCRIPTS="/data/webhookd/scripts"
WHD_HOOK_LOG_DIR="/data/webhookd/logs"
WHD_HOOK_WORKERS=2

脚本

编译

1
2
3
4
5
6
7
8
9
10
#!/bin/bash
LOCKFILE="/data/webhookd/tmp/build_web.lock"

exec 200>"$LOCKFILE"
flock -n 200 || {
echo "另一个编译正在运行中,退出..."
exit 1
}

echo "todo..."