I am developing a Nodejs application that the user interacts with via HTTP on localhost. There are practically no parameters and the daemon has virtually no dependencies and it just needs to be up by log-in time.I would like to follow the idioms on each platform for start-up scripts, and that means Upstart on Ubuntu and systemd on Fedora.Are there any good tutorials for writing systemd system files?Are there any 'best practices' to be aware of?I have found these resources:Fedora wiki page about systemdBlog about writing systemd system filesSystemd on WikipediaI am mostly looking for an API of sorts as a reference, as well as a basic format to follow.
Writing basic systemd service files
services;systemd
I would start with the Systemd manual pages. They represent a comprehensive resource of the system and services.There is also the freedesktop Systemd FAQs. 