Rustig Posted June 4, 2007 Share Posted June 4, 2007 (edited) Maybe its a little problem but after 2 days of reading and trying i have to ask you I used Lingon to add hellanzb.py as a startup application, see my screenshot for the details: When i reboot the system i can find 2 errors in my logfiles: Jun 4 16:08:34 maikels-computer launchd[372]: Hellanzb: exited with exit code: 1 Jun 4 16:08:34 maikels-computer launchd[372]: Hellanzb: 9 more failures without living at least 60 seconds will cause job removal Maybe its not possible to run a Python application like this, but there has to be a working 'trick' Can someone point me the sollution? Thanks in advance: Maikel Edited June 4, 2007 by Rustig Link to comment https://www.insanelymac.com/forum/topic/52931-lingon-and-hellanzb/ Share on other sites More sharing options...
Rustig Posted June 11, 2007 Author Share Posted June 11, 2007 Sollution: How to autostart hellanzb.py -D via Lingon (LaunchD) 1. Hellanzb is configured and working 2. Create a simple hell script to launch hellanzb -D at startup 3. Configure Lingon 4. Reboot Download Lingon from: http://lingon.sourceforge.net/ Install Create a shell script (you can use Pico in the terminal) Open the terminal type: cd /Applications/ [enter] type: pico hellanzbd.sh the hellanzbd.sh should contain: #!/bin/bash cd /opt/local/bin/ ./hellanzb.py -D exit 0 Save in Pico with: ctrl+o Exit Pico with: ctrl+x You have to apply the root:wheel permissions to the file In the terminal you type: sudo -s [enter password] chmod -f 755 /Applications/hellanzbd.sh chown root:wheel /Applications/hellanzbd.sh diskutil repairPermissions / Now its time to configure Lingon: Open the application Lingon Use the Assistent to add the startup shell: Select: Run a job at startup *[Next] Type your label for this job Deselect Launch only when i Login Select Must run as root *[Next] The job command is: /Applications/hellanzbd.sh *[Create] Your done, check the Users Daemons tab for the job, if its correct it will turn Green Maikel The Netherlands Link to comment https://www.insanelymac.com/forum/topic/52931-lingon-and-hellanzb/#findComment-382146 Share on other sites More sharing options...
asap18 Posted June 11, 2007 Share Posted June 11, 2007 Just use Sabnzbd, , iirc someone made a standalone app out of it. Link to comment https://www.insanelymac.com/forum/topic/52931-lingon-and-hellanzb/#findComment-382153 Share on other sites More sharing options...
Recommended Posts