From 6f84e271ab73b32bfc43f2177cc52d31ad672775 Mon Sep 17 00:00:00 2001 From: John Doe Date: Wed, 4 Mar 2026 21:59:18 -0500 Subject: [PATCH] fix: add EnvironmentFile directive to LocalAGI service --- install/localagi-install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install/localagi-install.sh b/install/localagi-install.sh index b63214984..383cedb17 100644 --- a/install/localagi-install.sh +++ b/install/localagi-install.sh @@ -62,6 +62,8 @@ After=network.target [Service] User=root Type=simple +EnvironmentFile=/opt/localagi/.env + WorkingDirectory=/opt/localagi ExecStart=/usr/local/bin/localagi Restart=on-failure