Skip to content

Commit 7ec6408

Browse files
committed
Rename "wallet-gui" to "wallet". Tweak PID file name for it.
1 parent 2fea099 commit 7ec6408

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/cmds/start_stop.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,15 @@
99
"node": "chia_full_node".split(),
1010
"farmer": "chia_harvester chia_farmer chia_full_node".split(),
1111
"timelord": "chia_timelord chia_timelord_launcher chia_full_node".split(),
12-
"wallet": ["npm run --prefix ./electron-ui start", "chia-wallet"],
12+
"wallet": ["npm run --prefix ./electron-ui start"],
13+
"wallet-server": "chia-wallet".split(),
1314
"introducer": "chia_introducer".split(),
1415
}
1516

16-
SERVICES_FOR_GROUP["wallet-gui"] = SERVICES_FOR_GROUP["wallet"][:1]
17-
SERVICES_FOR_GROUP["wallet-server"] = SERVICES_FOR_GROUP["wallet"][1:]
18-
1917

2018
def pid_path_for_service(root_path, service):
21-
return root_path / "run" / f"{service}.pid"
19+
pid_name = service.replace(" ", "-").replace("/", "-")
20+
return root_path / "run" / f"{pid_name}.pid"
2221

2322

2423
def all_groups():

0 commit comments

Comments
 (0)