Read the information: "Three Ways to Configure Mac OS X Startup Items"
The answer below is indeed wrong, it seems not that simple.
The following is the wrong answer, just look at the joke
Although I have never used Redis, you can use the launchctl command to set up the process you want to start at boot.
This command is used to control the startup process (launchd) in OS X system.
If you need to control the services started by launchd in real time, you can use this command control.
For example, if you need to stop the Spotlight service, you can run the following command:
Recommend two GUI tools, cakebrew 和launchrocket, cakebrew is used to manage brew’s formulae, and launchrocket is used to manage the start/stop/start of related services
If you use brew, just
brew install redis
Then it will tell you to
This way it can be started when the user logs in
If you compiled redis yourself, then write a redis.plist yourself
Please replace {...} in the following examples with your own settings
Wish you success ;)
Read the information: "Three Ways to Configure Mac OS X Startup Items" The answer below is indeed wrong, it seems not that simple.
The following is the wrong answer, just look at the joke
Although I have never used Redis, you can use the launchctl command to set up the process you want to start at boot.
This command is used to control the startup process (launchd) in OS X system. If you need to control the services started by launchd in real time, you can use this command control. For example, if you need to stop the Spotlight service, you can run the following command:
If you want to start the service after stopping it, then:
You can try using the following command
Recommend two GUI tools,
cakebrew
和launchrocket
, cakebrew is used to manage brew’s formulae, and launchrocket is used to manage the start/stop/start of related servicesNow change to the following command: