English French
Fedora systemd Services
This document describes the guidelines for systemd services, for use and inclusion in Fedora packages.
Since systemd includes some concepts which are extensions of previous concepts, the following definitions may be useful:
Unit Files
Each package that contains software that wants/needs to start a traditional service at boot MUST have a systemd unit file.
Follow upstream if they're already distributing a `+.service+` file and it's not likely to conflict with other packages.
Look at packages in other distros or talk with the maintainers of those packages and upstream to try to come up with a common name.
Basic format
Every `+.service+` file must begin with a `+[Unit]+` section:
Next, the `+.service+` file must have a `+[Service]+` section:
Finally, the `+.service+` file should have an `+[Install]+` section:
For more information regarding these options see https://www.freedesktop.org/software/systemd/man/systemd.unit.html[systemd.unit(5)] and https://www.freedesktop.org/software/systemd/man/systemd.service.html[systemd.service(5)].
EnvironmentFiles and support for /etc/sysconfig files