Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

.hdf config cleanup and improvements #9

@dol

Description

@dol

The .deb and .rpm packages both contain the following *.hdf files.

./hhvm/deb/skeleton/etc/hhvm/server.hdf
./hhvm/deb/skeleton/etc/hhvm/config.hdf
./hhvm/rpm/fedora20/root/etc/hhvm/server.hdf
./hhvm/rpm/fedora20/root/etc/hhvm/config.hdf

As I can see, config.hdf is not used in any case. Vote for a remove.
Is this file internally used somehow?

Further improvements:
According to issue #8 it might make sense to provide a separate config file for the FastCGI package.
My proposal:

  • server.hdf for the server mode
  • fastcgi.hdf for the FastCGI mode

At the moment it's IMHO not a good solution that the hhvm server and the FastCGI progress share the same config file. E.g. same .hdf means same port, which can cause problems.
If the server and FastCGI config diverge to much, it's kind impossible to find a common ground with only one file.
Note: To run hhvm server and FastCGI at the same time is a corner case.

An other issue of not having separate files is, that it's not upgrade save. https://wiki.debian.org/PackageConfigUpgrade

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions