[~] Refactor

This commit is contained in:
Siarhei Siniak 2024-05-19 13:50:51 +03:00
parent 9bc2752fab
commit fefee3c3ea

@ -1283,16 +1283,15 @@ server {
location_section, location_section,
)) ))
subprocess.check_call( os.execv(
r''' 'nginx',
exec nginx -c $CONF_DIR/nginx.conf -p $DATA_DIR -g "daemon off;" [
''', 'nginx',
env=dict( '-c',
CONF_DIR=CONF_DIR, os.path.join(CONF_DIR, 'nginx.conf'),
DATA_DIR=DATA_DIR, '-p',
#APP_DIR=APP_DIR, '-g', 'daemon off;',
), ],
shell=True,
) )
def pass_ssh_osx(argv): def pass_ssh_osx(argv):