mirror of
https://github.com/mthenw/frontail.git
synced 2026-04-26 02:05:57 +03:00
[GH-ISSUE #193] Autostart on MacOS #128
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/frontail#128
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @buzink on GitHub (Feb 1, 2020).
Original GitHub issue: https://github.com/mthenw/frontail/issues/193
Is there any way to run frontail as a service on MacOS? I installed frontail through npm (and node-js through homebrew) and made the following launchctl file:
I get the following error:
env: node: No such file or directoryThe same command given directly in the shell works fine.
What am I doing wrong?
@buzink commented on GitHub (Feb 1, 2020):
Solved it. The problem was the env path to /usr/local/bin/ was missing. I don't know how to set that in the launchd-file, so I created a shell script and set it in there. The launchd-file starts the shell script.
~/Library/LaunchAgents/frontail.openhab.logs.plist:
~/frontail.sh: