Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[FrameworkBundle] add option to force web server startup #15134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 30, 2015

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Jun 28, 2015

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

The server:start command will report an error message when a lock file
does exist.

However, this means that you cannot restart the web server process if
the previously running process terminated accidentally or if it was
terminated by the user without executing the server:stop command (e.g.
by using the system's kill command or the task manager).

This commit adds a --force option that makes it possible to launch the
web server process even if a lock file does exist.

The `server:start` command will report an error message when a lock file
does exist.

However, this means that you cannot restart the web server process if
the previously running process terminated accidentally or if it was
terminated by the user without executing the `server:stop` command (e.g.
by using the system's `kill` command or the task manager).

This commit adds a `--force` option that makes it possible to launch the
web server process even if a lock file does exist.
@dosten
Copy link
Contributor

dosten commented Jun 28, 2015

👍

@fabpot
Copy link
Member

fabpot commented Jun 28, 2015

👍

2 similar comments
@aitboudad
Copy link
Contributor

👍

@stof
Copy link
Member

stof commented Jun 29, 2015

👍

@fabpot
Copy link
Member

fabpot commented Jun 30, 2015

Thank you @xabbuh.

@fabpot fabpot merged commit 1583fad into symfony:2.8 Jun 30, 2015
fabpot added a commit that referenced this pull request Jun 30, 2015
…up (xabbuh)

This PR was merged into the 2.8 branch.

Discussion
----------

[FrameworkBundle] add option to force web server startup

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

The `server:start` command will report an error message when a lock file
does exist.

However, this means that you cannot restart the web server process if
the previously running process terminated accidentally or if it was
terminated by the user without executing the `server:stop` command (e.g.
by using the system's `kill` command or the task manager).

This commit adds a `--force` option that makes it possible to launch the
web server process even if a lock file does exist.

Commits
-------

1583fad add option to force web server startup
@xabbuh xabbuh deleted the force-server-start-option branch June 30, 2015 06:03
@fabpot fabpot mentioned this pull request Nov 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants