feat: extract address tool into standalone project

This commit is contained in:
kory
2026-10-12 08:21:40 +08:00
commit 2fb416ac33
6 changed files with 1158 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
[Unit]
Description=Address Tool API Service
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
WorkingDirectory=/opt/address-tool
EnvironmentFile=-/etc/address-tool/address-tool.env
ExecStart=/usr/bin/python3 /opt/address-tool/server.py
Restart=on-failure
RestartSec=3
User=address-tool
Group=address-tool
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths=/opt/address-tool
[Install]
WantedBy=multi-user.target