瀏覽代碼

[launchd] Fix path for hungryroot services

Colin Powell 18 小時之前
父節點
當前提交
0fc401be59

+ 1 - 5
launchd/Library/LaunchAgents/com.hungryroot.celery.plist

@@ -12,11 +12,7 @@
     <array>
       <string>/bin/bash</string>
       <string>-lc</string>
-      <string>
-        cd /Users/colin.powell/src/github.com/hungryroot/hungryroot \
-        && eval "$(direnv export bash)" \
-        && just celery
-      </string>
+      <string>cd /Users/colin.powell/src/github.com/hungryroot/hungryroot &amp;&amp; eval "$(/opt/homebrew/bin/direnv export bash)" &amp;&amp; just celery</string>
     </array>
 
 

+ 1 - 6
launchd/Library/LaunchAgents/com.hungryroot.django.plist

@@ -12,14 +12,9 @@
     <array>
       <string>/bin/bash</string>
       <string>-lc</string>
-      <string>
-        cd /Users/colin.powell/src/github.com/hungryroot/hungryroot \
-        && eval "$(direnv export bash)" \
-        && just django
-      </string>
+      <string>cd /Users/colin.powell/src/github.com/hungryroot/hungryroot &amp;&amp; eval "$(/opt/homebrew/bin/direnv export bash)" &amp;&amp; just django</string>
     </array>
 
-
     <!-- Run when the agent is loaded -->
     <key>RunAtLoad</key>
     <true/>

+ 1 - 5
launchd/Library/LaunchAgents/com.hungryroot.flower.plist

@@ -12,11 +12,7 @@
     <array>
       <string>/bin/bash</string>
       <string>-lc</string>
-      <string>
-        cd /Users/colin.powell/src/github.com/hungryroot/hungryroot \
-        && eval "$(direnv export bash)" \
-        && just flower
-      </string>
+      <string>cd /Users/colin.powell/src/github.com/hungryroot/hungryroot &amp;&amp; eval "$(/opt/homebrew/bin/direnv export bash)" &amp;&amp; just flower</string>
     </array>