If a "scripted" service has no stop command, allow it to stop immediately.
authorDavin McCall <davmac@davmac.org>
Sat, 2 Jan 2016 18:41:05 +0000 (18:41 +0000)
committerDavin McCall <davmac@davmac.org>
Sat, 2 Jan 2016 18:41:05 +0000 (18:41 +0000)
commitf01505450ffa88ceb3119785ea38b5936ae996bd
treecee65c52fb5be5995388917b3a2c280802ebc0cd
parent768b056195c54040247a544baed6800c23c9a2e0
If a "scripted" service has no stop command, allow it to stop immediately.

This allows no stop command to be specified if none is needed. (This probably
already worked, but only because Dinit would try to exec "" (the empty string)
when the service stopped, which would fail, and the service would get marked
as stopped anyway).
service.cc