Skip to content

Make polycubed a system service #25

@acloudiator

Description

@acloudiator

It is not possible to run two instances of polycubed on the same system, when a second instance is launched, it closes with the following message error:

terminate called after throwing an instance of 'std::runtime_error'
  what():  epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fd, &ev): Bad file descriptor
Aborted

That message is not clear enough to recognize the source of the problem.
A mechanism to check if another instance is running would allow printing a more useful message, as:

Another instance of polycubed is running PID: ....

-Mauricio

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions