Set the SMACK security label to run given executable file in systemd services
[platform/adaptation/bluetooth-firmware-bcm.git] / packaging / bluetooth-hciattach@.service
1 [Unit]
2 Description=hciattach service requested by %I
3 Requires=bluetooth-hci-device.service
4 After=bluetooth-hci-device.service
5
6 [Service]
7 Type=oneshot
8 SmackProcessLabel=System
9 ExecStartPre=-/bin/mkdir -p /run/bluetooth/
10 ExecStart=/bin/touch /run/bluetooth/%I
11 ExecStop=/bin/rm /run/bluetooth/%I
12 RemainAfterExit=yes
13 StandardOutput=journal+console
14 StandardError=inherit