MacOS command line restart

Moderators: Site Moderators, FAHC Science Team

Post Reply
meriscz
Posts: 6
Joined: Thu Mar 26, 2020 10:00 am

MacOS command line restart

Post by meriscz »

Hi,
I can't find the correct command line command for restart FAH.
Is anywhere the simple help site with this commands?

Thanks

meriscz
Joe_H
Site Admin
Posts: 7990
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Studio M1 Max 32 GB smp6
Mac Hack i7-7700K 48 GB smp4
Location: W. MA

Re: MacOS command line restart

Post by Joe_H »

sudo launchctl unload -w /Library/LaunchDaemons/edu.stanford.folding.fahclient.plist

and then

sudo launchctl load -w /Library/LaunchDaemons/edu.stanford.folding.fahclient.plist

This is on my older installation of 7.5.1 on my MacBook running High Sierra, as far as I know the paths have not changed.
Image
meriscz
Posts: 6
Joined: Thu Mar 26, 2020 10:00 am

Re: MacOS command line restart

Post by meriscz »

Thanks,
I find it on this path
sudo launchctl unload -w /Library/LaunchDaemons/org.foldingathome.fahclient.plist
Joe_H
Site Admin
Posts: 7990
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Studio M1 Max 32 GB smp6
Mac Hack i7-7700K 48 GB smp4
Location: W. MA

Re: MacOS command line restart

Post by Joe_H »

I installed my client a few years, so it looks like it takes part of the filename from the download site. Was not aware of that aspect of the installer until this week.
Image
calxalot
Site Moderator
Posts: 1275
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: MacOS command line restart

Post by calxalot »

Since launchd will restart the client on macOS, you can instead use
FAHClient —send-command shutdown
meriscz
Posts: 6
Joined: Thu Mar 26, 2020 10:00 am

Re: MacOS command line restart

Post by meriscz »

If I try FAHClient —send-command shutdown
the client stack on unknown state and only reboot PC help me.
Post Reply