summaryrefslogtreecommitdiff
path: root/packaging/bluetooth-hciattach@.service
blob: 00ec9e9a17df9edb028671aa26537f63b61b916a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=hciattach service requested by %I
Requires=bluetooth-hci-device.service
After=bluetooth-hci-device.service

[Service]
Type=oneshot
ExecStartPre=-/bin/mkdir -p /run/bluetooth/
ExecStart=/bin/touch /run/bluetooth/%I
ExecStop=/bin/rm /run/bluetooth/%I
RemainAfterExit=yes
StandardOutput=journal+console
StandardError=inherit