Better stop command for the ADB unit.

This commit is contained in:
Simo Kinnunen
2016-07-29 17:52:24 +09:00
committed by GitHub
parent 3f060f8b52
commit 0ee3624522

View File

@@ -33,7 +33,7 @@ Since we're dealing with actual physical devices, some units need to be deployed
The provider role requires the following units, which must be together on a single or more hosts.
* [adbd.service](#adbservice)
* [adbd.service](#adbdservice)
* [stf-provider@.service](#stf-providerservice)
### App role
@@ -95,7 +95,7 @@ ExecStart=/usr/bin/docker run --rm \
-v /dev/bus/usb:/dev/bus/usb \
--net host \
sorccu/adb:latest
ExecStop=-/usr/bin/docker stop -t 2 %p
ExecStop=/usr/bin/docker exec %p adb kill-server
```
### `rethinkdb.service`