Add systemd unit for adb
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
a908ced4fc
commit
c619e90062
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 New Issue
Block a user