cookiecutter-API-Hour icon indicating copy to clipboard operation
cookiecutter-API-Hour copied to clipboard

Drop SysV and embrace Systemd

Open iCart opened this issue 8 years ago • 1 comments

This pull request drops the old config files (monit, logrotate, init, ...) and replaces them with a single default systemd .service file.

iCart avatar Feb 03 '17 09:02 iCart

Hi @iCart,

I've finish to think about that: I suggest to add an extra question in the cookiecutter to ask that the init system to be supported, with systemd by default.

I know we are in 2017 and Debian Stretch has just released, however, we still need time to time to create a daemon for some old projects.

Could you change your PR to add this option ? BTW, I've committed a systemd configuration in this repository to use systemd as a mini-monit and mini-haproxy for an API-Hour daemon. FYI, I've also a configuration for systemd-nspawn, to start the daemon in a full container.

Have a nice week-end.

ludovic-gasc avatar Jun 18 '17 08:06 ludovic-gasc