|
@@ -69,7 +69,7 @@ implementation
|
|
|
|
|
|
uses
|
|
uses
|
|
dbus, unixtype, fpjson, jsonparser, unix,
|
|
dbus, unixtype, fpjson, jsonparser, unix,
|
|
- uGlobs, uGlobsPaths, uPython;
|
|
|
|
|
|
+ uGlobs, uGlobsPaths, uMyUnix, uPython;
|
|
|
|
|
|
const
|
|
const
|
|
MODULE_NAME = 'rabbit-vcs';
|
|
MODULE_NAME = 'rabbit-vcs';
|
|
@@ -112,7 +112,7 @@ begin
|
|
Print('Service found running.')
|
|
Print('Service found running.')
|
|
else
|
|
else
|
|
begin
|
|
begin
|
|
- Result:= fpSystem(PythonScript) = 0;
|
|
|
|
|
|
+ Result:= fpSystemStatus('python ' + PythonScript) = 0;
|
|
if Result then
|
|
if Result then
|
|
Print('Service successfully started.');
|
|
Print('Service successfully started.');
|
|
end;
|
|
end;
|