I've tried to create a launchd for hubot executable but it always fail with the following error:
Service exited with abnormal code: 127
Here you are the launchd config file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.coder.hubot</string>
<key>WorkingDirectory</key>
<string>/Users/coder/dev/projects/myhubot</string>
<key>ProgramArguments</key>
<array>
<string>/Users/coder/dev/projects/myhubot/bin/hubot</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<false/>
</dict>
</plist>
I don't understand the error because if I try to execute the command in the console, it works...
Any idea?
Thanks!
برچسب:
نویسنده: استخدام کار