I'm trying to have my computer launch both hellanzb and rtorrent upon logging in. My scripts are as follows:
When I try to run the scripts as a user agent, the scripts try to run, but I get the following system.log entries:
for hellanzb:
I'm guessing that the daemon is being started under the user that isn't me, but I'm not sure how to get it working other than changing the permissions for others, which is far from ideal.
for rtorrent:
I tried to use screen -d -m rtorrent, but then I don't even get an error message.
Does anybody have any experience getting these programs working with launchd?
Code:
#!bin/bash
cd /opt/local/bin/
./hellanzb.py -D
exit 0
Code:
#!bin/bash
cd /opt/local/bin/
rtorrent
exit 0
When I try to run the scripts as a user agent, the scripts try to run, but I get the following system.log entries:
for hellanzb:
Code:
hellanzb v0.13 (config = /opt/local/etc/hellanzb.conf, daemonized)
Exiting: FatalError'>: Cannot continue: hellanzb needs write access to directory:
/users/pariah99/Downloads/.Incoming/daemon.working/
I'm guessing that the daemon is being started under the user that isn't me, but I'm not sure how to get it working other than changing the permissions for others, which is far from ideal.
for rtorrent:
Code:
Must be connected to a terminal.
I tried to use screen -d -m rtorrent, but then I don't even get an error message.
Does anybody have any experience getting these programs working with launchd?