修复已知问题

qrnn
fxC 3 years ago
parent 341cf21367
commit 2ec7fb05eb
  1. 3
      fir_ser/api/management/commands/services/services/base.py
  2. 3
      fir_ser/requirements.txt

@ -120,7 +120,8 @@ class BaseService(object):
# -- action --
def open_subprocess(self):
self.set_work_dir_owner()
if os.getuid() == 0:
self.set_work_dir_owner()
kwargs = {'cwd': self.cwd, 'stderr': self.log_file, 'stdout': self.log_file}
self._process = subprocess.Popen(self.cmd, **kwargs)

@ -19,4 +19,5 @@ drf-extensions==0.7.0
python-daemon==2.2.3
psutil==5.6.6
flower==1.0.0
django-proxy==1.2.1
django-proxy==1.2.1
uWSGI==2.0.20
Loading…
Cancel
Save