Use the kill command instead of killall
[platform/core/connectivity/bluetooth-tools.git] / packaging / bluetooth-rfkill-block.service
1 [Unit]
2 Description=Service to block the bluetooth rfkill normally
3
4 [Service]
5 Type=oneshot
6 SmackProcessLabel=System
7 ExecStartPre=/usr/bin/rm -f /run/.rfkill_block
8 ExecStart=/usr/sbin/rfkill block bluetooth
9 RemainAfterExit=no
10 StandardOutput=journal+console
11 SuccessExitStatus=1
12 StartLimitInterval=1
13 StartLimitBurst=10