[
https://issues.apache.org/jira/browse/AIRFLOW-1004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15977700#comment-15977700
]
ASF subversion and git services commented on AIRFLOW-1004:
----------------------------------------------------------
Commit aef7dd0a53411f3edb2333cb36a457056e5ab652 in incubator-airflow's branch
refs/heads/v1-8-test from [~sekikn]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=aef7dd0 ]
[AIRFLOW-1121][AIRFLOW-1004] Fix `airflow webserver --pid` to write out pid file
After AIRFLOW-1004, --pid option is no longer
honored and
the pid file is not being written out. This PR
fixes it.
Closes #2249 from sekikn/AIRFLOW-1121
(cherry picked from commit 8d643897cf6171d110e7139fb31c3d4d47c3acca)
> `airflow webserver -D` runs in foreground
> -----------------------------------------
>
> Key: AIRFLOW-1004
> URL: https://issues.apache.org/jira/browse/AIRFLOW-1004
> Project: Apache Airflow
> Issue Type: Bug
> Components: webserver
> Reporter: Ruslan Dautkhanov
> Assignee: Kengo Seki
> Labels: background, restart, rolling, webserver
> Fix For: 1.8.1
>
>
> airflow webserver doesn't want to daemonize
> {noformat}
> $ airflow webserver --daemon
> [2017-03-17 00:06:37,553] {__init__.py:57} INFO - Using executor LocalExecutor
> .. skip ..
> Running the Gunicorn Server with:
> Workers: 4 sync
> Host: 0.0.0.0:18111
> Timeout: 120
> Logfiles: - -
> =================================================================
> [2017-03-17 00:06:39,744] {__init__.py:57} INFO - Using executor LocalExecutor
> {noformat}
> webserver keeps running in foreground.
> Sent email regarding this issue to dev list and according to [~bolke],
> "This is a (known) bug, since the introduction of the rolling restarts"
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)