This commit is contained in:
2024-02-18 10:32:34 +08:00
commit 5f658b55e1
7 changed files with 683 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
[Unit]
Description=HostList-Generator
[Service]
Type=oneshot
TimeoutSec=300
ExecStartPre=/bin/sh -c 'until ping -c1 raw.githubusercontent.com; do sleep 10; done'
ExecStart=/usr/bin/python3 '/opt/hostlist-generator/generate.py'