Development

This commit is contained in:
Matthew Grotke 2026-06-09 11:32:33 -04:00
parent f794314f28
commit e4a9d5c038
5 changed files with 35 additions and 15 deletions

View file

@ -69,7 +69,8 @@ def install_timer(data):
"",
])
blocklist_script = shared.SCRIPT_DIR / "dl_blocklists.py"
dl_script = shared.SCRIPT_DIR / "dl_blocklists.py"
merge_script = shared.SCRIPT_DIR / "core.py"
service_content = "\n".join([
"# Generated by core.py -- do not edit manually.",
"",
@ -80,7 +81,8 @@ def install_timer(data):
"",
"[Service]",
"Type=oneshot",
f"ExecStart=/usr/bin/python3 {blocklist_script}",
f"ExecStart=/usr/bin/python3 {dl_script}",
f"ExecStart=/usr/bin/python3 {merge_script} --merge-blocklists",
"",
])