service/instance: add an auto start option
authorJohn Crispin <john@phrozen.org>
Wed, 5 Apr 2017 06:58:22 +0000 (08:58 +0200)
committerJohn Crispin <john@phrozen.org>
Wed, 5 Apr 2017 12:59:25 +0000 (14:59 +0200)
commite0098d49a95d6f33252c9eb2f98e963c3fffe50b
treecdbad746ba046f35a635c81a321c1dba9b22046c
parent1247db1e2be1fd8140cfa2aa93e4c97f7785a3ba
service/instance: add an auto start option

this allows us to register services with procd but not auto start them. An
additional ubus call is required to start the service.

Signed-off-by: John Crispin <john@phrozen.org>
service/instance.c
service/instance.h
service/service.c
service/service.h