How can I stop the Pow server from starting up at computer boot (OS X)?

前端 未结 3 385
难免孤独
难免孤独 2021-01-06 09:29

TL;DR: Is there a way to disable the Pow server from starting when my machine boots up, but retain the ability to launch the server manually via powder up

3条回答
  •  萌比男神i
    2021-01-06 10:11

    Use KeepAlive with PathState key.

    PathState 
           Each key in this dictionary is a file-system path. If the value of the key is true, then the job
           will be kept alive as long as the path exists.  If false, the job will be kept alive in the
           inverse condition. The intent of this feature is that two or more jobs may create semaphores in
           the file-system namespace.
    

    Create a file at path when you want to launch pow server.

提交回复
热议问题