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: 7871
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
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

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
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: 7871
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
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

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
calxalot
Site Moderator
Posts: 896
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