literówka XD
This commit is contained in:
parent
d55ac7c5d1
commit
840fb66840
@ -14,7 +14,7 @@ class NGINXConfigurator:
|
|||||||
config = cls._get_config(sessions)
|
config = cls._get_config(sessions)
|
||||||
with open(cls._config_path, 'w') as F:
|
with open(cls._config_path, 'w') as F:
|
||||||
F.write(config)
|
F.write(config)
|
||||||
completed_process = subprocess.run(["sudo" "nginx", "-s", "reload"])
|
completed_process = subprocess.run(["sudo", "nginx", "-s", "reload"])
|
||||||
return completed_process.returncode
|
return completed_process.returncode
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user