# SPDX-License-Identifier: MIT [Unit] Description=Example daemon on %I Documentation=man:example(8) https://example.com/docs After=network-online.target Wants=network-online.target # comment lines between settings, don't break anything ConditionPathExists=/dev/tty0 [Service] Type=notify ExecStart=-/usr/bin/example --config /etc/example/%i.conf \ --verbose ExecReload=/bin/kill -HUP $MAINPID Environment="LANG=C.UTF-8" "EXTRA=a b" Restart=on-failure RestartSec=5s [Install] WantedBy=multi-user.target