Files
mirall/mirall.cpp

15 lines
302 B
C++
Raw Normal View History

2019-04-26 05:34:19 +00:00
#include <gflags/gflags.h>
#include <glog/logging.h>
2019-04-28 00:17:32 +00:00
#include "fastcgi.h"
2019-04-26 05:34:19 +00:00
DEFINE_int32(port, 9000, "TCP port to bind");
int main(int argc, char *argv[]) {
google::InitGoogleLogging(argv[0]);
gflags::ParseCommandLineFlags(&argc, &argv, true);
2019-04-28 00:17:32 +00:00
FastCGIServer server(FLAGS_port);
server.Serve();
2019-04-26 05:34:19 +00:00
}