OverSIP icon indicating copy to clipboard operation
OverSIP copied to clipboard

Support for non-daemonized process

Open hesalx opened this issue 9 years ago • 6 comments

It's not possible now to run oversip under runit (requires non-daemonized process). Also, foreground process would be very useful during development.

hesalx avatar Jun 04 '15 08:06 hesalx

Probably the same applies to systemd. A "--no-fork" option would probably be welcome, indeed.

saghul avatar Jun 04 '15 08:06 saghul

Interesting. Let me handle it in the next days by adding a command line option not to daemonize the main process.

ibc avatar Jun 08 '15 09:06 ibc

Any update here? This also makes it a little tough to run in Docker. Is the fix to simply avoid executing the daemonize method with a --no-daemonize option? If so I'd be happy to submit a PR (very new to this framework so I'd rather confirm).

colinmorelli avatar Jun 14 '16 21:06 colinmorelli

If you wish, please send a PR with such a command line option (after confirming that it works fine).

ibc avatar Jun 14 '16 21:06 ibc

Done - see #91. Appears to work in both foreground and background modes.

colinmorelli avatar Jun 14 '16 22:06 colinmorelli

Thanks a lot. Let me please handle the PR in the next days.

ibc avatar Jun 14 '16 22:06 ibc