lohr: mention systemd specific issue

This commit is contained in:
Antoine Martin 2021-04-08 03:44:52 +02:00
parent daee3cd795
commit df463c02fb

View file

@ -40,6 +40,7 @@ in
"ROCKET_PORT=${toString cfg.port}" "ROCKET_PORT=${toString cfg.port}"
"ROCKET_LOG_LEVEL=normal" "ROCKET_LOG_LEVEL=normal"
"LOHR_HOME=${cfg.home}" "LOHR_HOME=${cfg.home}"
# NOTE: secret cannot contain a '%', it's interpreted by systemd
"'LOHR_SECRET=${secrets.lohr-shared-secret}'" "'LOHR_SECRET=${secrets.lohr-shared-secret}'"
]; ];
ExecStart = "${lohrPkg}/bin/lohr"; ExecStart = "${lohrPkg}/bin/lohr";