From 9695875cf257d81b42f2c38df27e8d66060c3cbc Mon Sep 17 00:00:00 2001 From: Benoit Date: Tue, 8 Oct 2024 19:29:45 +0900 Subject: [PATCH] Add systemd override --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4044d04..bdbd294 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,10 @@ # Haproxy -Haproxy configuration files for my self-hosted setup. \ No newline at end of file +Haproxy configuration files for my self-hosted setup. + +`/etc/systemd/system/haproxy.service.d/override.conf`: + +```HAProxy +[Service] +Environment="CONFIG=/etc/haproxy/config" +```