Explorar o código

[systemd] Use proper homebrew path

Colin Powell hai 20 horas
pai
achega
585c52d4e9

+ 1 - 1
systemd/.config/systemd/user/hungryroot-celery.service

@@ -8,7 +8,7 @@ Type=simple
 WorkingDirectory=%h/src/github.com/hungryroot/hungryroot
 
 # Ensure Homebrew/user bins are visible (adjust if needed)
-Environment=PATH=%h/.local/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin
+Environment=PATH=%h/.local/bin:/home/linuxbrew/.linuxbrew/bin:/usr/local/bin:/usr/bin:/bin
 
 # Load direnv env for the directory, then run
 ExecStart=/bin/bash -lc 'eval "$(direnv export bash)" && just celery'

+ 1 - 1
systemd/.config/systemd/user/hungryroot-django.service

@@ -8,7 +8,7 @@ Type=simple
 WorkingDirectory=%h/src/github.com/hungryroot/hungryroot
 
 # Ensure Homebrew/user bins are visible (adjust if needed)
-Environment=PATH=%h/.local/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin
+Environment=PATH=%h/.local/bin:/home/linuxbrew/.linuxbrew/bin:/usr/local/bin:/usr/bin:/bin
 
 # Load direnv env for the directory, then run
 ExecStart=/bin/bash -lc 'eval "$(direnv export bash)" && just django'

+ 1 - 1
systemd/.config/systemd/user/hungryroot-flower.service

@@ -8,7 +8,7 @@ Type=simple
 WorkingDirectory=%h/src/github.com/hungryroot/hungryroot
 
 # Ensure Homebrew/user bins are visible (adjust if needed)
-Environment=PATH=%h/.local/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin
+Environment=PATH=%h/.local/bin:/home/linuxbrew/.linuxbrew/bin:/usr/local/bin:/usr/bin:/bin
 
 # Load direnv env for the directory, then run
 ExecStart=/bin/bash -lc 'eval "$(direnv export bash)" && just flower'