rename server file no avoid potential name clashes
This commit is contained in:
parent
0b6084d4ee
commit
fea9092497
|
@ -4,8 +4,7 @@ import argparse
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from subprocess import check_call
|
from subprocess import check_call
|
||||||
|
|
||||||
# TODO rename to grasp_server.py
|
from grasp_server import setup_parser
|
||||||
from server import setup_parser
|
|
||||||
|
|
||||||
SYSTEMD_CONFIG = """
|
SYSTEMD_CONFIG = """
|
||||||
[Unit]
|
[Unit]
|
||||||
|
@ -31,7 +30,7 @@ def setup(args):
|
||||||
out = Path(f'~/.config/systemd/user/{unit_name}').expanduser()
|
out = Path(f'~/.config/systemd/user/{unit_name}').expanduser()
|
||||||
print(f"Writing systemd config to {out}:")
|
print(f"Writing systemd config to {out}:")
|
||||||
|
|
||||||
server_bin = Path(__file__).parent.joinpath('server.py').absolute()
|
server_bin = Path(__file__).parent.joinpath('grasp_server.py').absolute()
|
||||||
extra_args = f'--port {args.port} --path {args.path}'
|
extra_args = f'--port {args.port} --path {args.path}'
|
||||||
|
|
||||||
with out.open('w') as fo:
|
with out.open('w') as fo:
|
||||||
|
|
Loading…
Reference in a new issue