cookiecutter-API-Hour
cookiecutter-API-Hour copied to clipboard
Drop SysV and embrace Systemd
This pull request drops the old config files (monit, logrotate, init, ...) and replaces them with a single default systemd .service file.
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.