Skip to content

Commit

Permalink
Merge pull request #255 from koterpillar/use-local-bin-path-for-daemon
Browse files Browse the repository at this point in the history
fix: add ~/.local/bin to PATH for daemons
  • Loading branch information
koterpillar authored Oct 9, 2024
2 parents b2929f0 + 8774035 commit 5a0af41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mybox/package/daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ async def service_file(self) -> str:
<true/>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/env</string>
<string>-SPATH=${{HOME}}/.local/bin:${{PATH}}</string>
<string>/bin/sh</string>
<string>-c</string>
<string>{self.daemon_cmd}</string>
Expand Down

0 comments on commit 5a0af41

Please sign in to comment.