Forums | MacLife
You are not logged in.
#1 2003-06-08 1:44 am
Startup Item
I browsed around the forums and Tony's site, and it looks like there is no Startup Item for FAH. Has anyone tried working on one? I think I might give it a shot...
Offline
#2 2003-06-08 6:14 am
Re: Startup Item
I wrote some instructions for setting up a crontab that will start folding at startup using the @reboot command. The problem with a StartupItem is how to assign the process to a certain user. I found some instructions for making a StartupItem, but it runs folding as root.
Offline
#3 2003-06-09 1:39 am
Re: Startup Item
No problems there.
Code:
sudo -u <username> <command>
will run a process as a particular user. Since the startup item is being run as root, you won't need to pass the password of the user in the script.
I'm putting the finishing touches on a startup item for the FAH client which will run as any user account. Installation will not be for the weak of heart or those that fear the terminal, and some edits will have to be made to the script and another config file (/etc/hostconfig) for it to run properly. It can be configured to run one or two instances.
Offline
#4 2003-06-09 3:42 am
Re: Startup Item
I finished the startup item and can send it to anyone if they want it. Email or PM me using the appropriate links in my forum profile if you would like it. It's not in the most user-friendly state as far as installation is concerned. For this reason, i'm not putting it up anywhere that is publicly accessible.
The startup item requires that you edit at least 2 files in a text editor as root, and chown and chmod a directory.
The startup item executes one or two FAH clients as any user id that you wish. It uses -local and your existing FAH directories, so no modifications to your existing folding setup are required.
Offline



