I would like to write a service with the standard start, stop, restart, status interface and that runs on startup and restarts if killed. However, in researching solutions, I've discovered that there are multiple ways to do this with varying levels of support, and that the latest Debian release changed its support for installing services.
What's the simplest supported way to create a service in Jessie? What's the most canonical way to create a service in Jessie? Is /etc/init.d only used for deprecated approaches?