Description=Service to run BT HCI logger normally
[Service]
+User=network_fw
+Group=network_fw
Type=oneshot
-User=root
-Group=root
+SmackProcessLabel=System
+ExecStartPre=/usr/bin/rm -f /run/.hci_logger_start
ExecStart=/usr/etc/bluetooth/bt-run-hci-logger.sh normal start btmon
-ExecStop=/usr/etc/bluetooth/bt-run-hci-logger.sh normal stop
-RemainAfterExit=yes
+RemainAfterExit=no
StandardOutput=journal+console
-StandardError=inherit
+SuccessExitStatus=1
+StartLimitInterval=1
+StartLimitBurst=10