autoplay icon indicating copy to clipboard operation
autoplay copied to clipboard

Flag to run in foreground instead of forking

Open haasn opened this issue 9 years ago • 0 comments

Autoplay's daemon is pretty unreliable, forks incorrectly, likes to crash or hang up unexpectedly, sometimes doesn't start successfully and in general is just a nightmare to deal with.

It would be great if you could add a flag to just run the daemon in the foreground (logging to STDOUT), so I can use something that was designed to fork correctly (such as systemd or runit) to daemonize autoplay.

In general, it would probably also be a good idea to separate the server component of autoplay from the client component that interacts with it so they live in entirely separate files.

haasn avatar Jun 17 '16 17:06 haasn