I have a late 2014 Mac Mini, running Mojave 10.14.1, which I'm using as a file server to a few users in our lab. The server will occasionally see power outages due to weather.
The machine reliably restarts after power outages, but the "File Sharing" service is deactivated.
- Is there a way to reliably start the File Sharing service, at boot time?
- Does anyone know of a work-around, to activate the service from the command line? Ideally, I'd like to script a check -> inspect the service state, and start it if it's not running. I'd use "cron" to run the check every so often, unless someone has a better recommendation.