Add systemd unit for adb
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
a908ced4fc
commit
c619e90062
1 changed files with 11 additions and 0 deletions
11
.config/systemd/system/adb.service
Normal file
11
.config/systemd/system/adb.service
Normal file
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=Android Debug Server Daemon
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
User=root
|
||||
ExecStart=/usr/bin/adb start-server
|
||||
ExecStop=/usr/bin/adb kill-server
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in a new issue