Development
This commit is contained in:
parent
f794314f28
commit
e4a9d5c038
5 changed files with 35 additions and 15 deletions
|
|
@ -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",
|
||||
"",
|
||||
])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue