chore(lego): move systemd unit directives to the correct section, route lego output to journal

This commit is contained in:
Johanna Dorothea Reichmann 2021-11-09 09:24:03 +01:00
parent b980e37177
commit e43a3ffbe6
No known key found for this signature in database
GPG key ID: 03624C433676E465

View file

@ -1,10 +1,10 @@
[Unit]
Description=lego - Let's Encrypt client written in Go
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=lego
[Service]
StandardOutput=journal
StandardError=journal
SyslogIdentifier=lego
{% for envvar in lego_configuration_merged.environment %}
Environment={{ envvar }}={{ lego_configuration_merged.environment[envvar] }}
{% endfor %}