|
|
|
@ -210,7 +210,7 @@ def initReplace(): |
|
|
|
|
service_path = mw.getServerDir() |
|
|
|
|
content = mw.readFile(systemServiceTpl) |
|
|
|
|
content = content.replace('{$SERVER_PATH}', service_path) |
|
|
|
|
mw.writeFile(systemService, se_content) |
|
|
|
|
mw.writeFile(systemService, content) |
|
|
|
|
mw.execShell('systemctl daemon-reload') |
|
|
|
|
|
|
|
|
|
def start(): |
|
|
|
|