This commit is contained in:
Lex Berezhny 2020-08-13 12:08:35 -04:00
parent 8fa2d746e7
commit 747eace4ab
2 changed files with 5 additions and 2 deletions

View file

@ -216,7 +216,7 @@ def set_kwargs(parsed_args):
def install_systemd_service():
SYSTEMD_SERVICE = textwrap.dedent(f"""\
systemd_service = textwrap.dedent(f"""\
[Unit]
Description=LBRYnet
@ -226,7 +226,7 @@ def install_systemd_service():
""")
subprocess.run(
["systemctl", "edit", "--user", "--full", "--force", "lbrynet.service"],
input=SYSTEMD_SERVICE, text=True,
input=systemd_service, text=True, check=True,
env=dict(os.environ, SYSTEMD_EDITOR="cp /dev/stdin"),
)

View file

@ -37,3 +37,6 @@ class LightClient(Service):
async def search_claims(self, accounts, **kwargs):
pass
async def search_supports(self, accounts, **kwargs):
pass