Revision 904d298f src/dvbd.cpp

View differences:

src/dvbd.cpp
38 38
  ConfigFile config;
39 39
  
40 40
  config.set("socket", DEFAULT_SOCKET_FILE);
41
  config.set("socket-uid", DEFAULT_SOCKET_UID);
42
  config.set("socket-gid", DEFAULT_SOCKET_GID);
43
  config.set("socket-mode", DEFAULT_SOCKET_MODE);
41 44
  config.set("pid", DEFAULT_PID_FILE);
42 45
  config.set("log", DEFAULT_LOG_FILE);
43 46
  config.set("schedule", DEFAULT_SCHEDULE_FILE);
......
78 81
  Scheduler scheduler(config.get("schedule"), &tm, &cm);
79 82

  
80 83
  std::string socketFilename = config.get("socket");
81
  Lobby lobby(socketFilename, &tm, &cm, &scheduler);
84
  std::string socketUid = config.get("socket-uid");
85
  std::string socketGid = config.get("socket-gid");
86
  std::string socketMode = config.get("socket-mode");
87
  Lobby lobby(socketFilename, socketUid, socketGid, socketMode, &tm, &cm, &scheduler);
82 88

  
83 89
  setupSignalHandlers();
84 90

  

Also available in: Unified diff