1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

support dolphin

This commit is contained in:
winlin 2015-05-28 14:59:12 +08:00
parent e5461d2df9
commit 394e070b2e
3 changed files with 63 additions and 2 deletions

View file

@ -639,6 +639,11 @@ int SrsServer::acquire_pid_file()
{
int ret = ERROR_SUCCESS;
// when srs in dolphin mode, no need the pid file.
if (_srs_config->is_dolphin()) {
return ret;
}
std::string pid_file = _srs_config->get_pid_file();
// -rw-r--r--