remove onActiveSec
This commit is contained in:
parent
16b51d2a43
commit
66fe6d4169
@ -486,7 +486,6 @@ module Homebrew
|
|||||||
instance_eval(&@service_block)
|
instance_eval(&@service_block)
|
||||||
options = []
|
options = []
|
||||||
options << "Persistent=true" if @run_type == RUN_TYPE_CRON
|
options << "Persistent=true" if @run_type == RUN_TYPE_CRON
|
||||||
options << "OnActiveSec=0s" if @run_at_load == true
|
|
||||||
options << "OnUnitActiveSec=#{@interval}" if @run_type == RUN_TYPE_INTERVAL
|
options << "OnUnitActiveSec=#{@interval}" if @run_type == RUN_TYPE_INTERVAL
|
||||||
|
|
||||||
if @run_type == RUN_TYPE_CRON
|
if @run_type == RUN_TYPE_CRON
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user