pscott / TaskMaster

TBD
0 stars 0 forks source link

Create a server / client architecture #7

Closed pscott closed 3 years ago

pscott commented 3 years ago

This is a useful bonus for the taskmaster project.

I think we could use the daemonize crate for that purpose :)

Ant0wan commented 3 years ago

Yep

pscott commented 3 years ago

Reopening because we reverted the PR.

pscott commented 3 years ago

Closed by #11

Ant0wan commented 3 years ago

I will push to add daemonize function to taskmasterd.

pscott commented 3 years ago

I will push to add daemonize function to taskmasterd.

I don't think we need it. It works pretty well right now without using any other crate. Any particular reason you want to use daemonize?

Ant0wan commented 3 years ago

In our case we are not daemonizing the process. We keep hanging the tty and we are bound to the user SID. In order for it to be a proper daemon, we need:

pscott commented 3 years ago

@Ant0wan You're right, this would bring in bonus points (and would make it a lot cleaner). Thanks for explaining! :D Will review the PR ASAP :)