mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
support dolphin
This commit is contained in:
parent
e5461d2df9
commit
394e070b2e
3 changed files with 63 additions and 2 deletions
|
@ -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--
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue