mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-19 22:09:14 +02:00
Try setting serial in apparmor https://github.com/alexbelgium/hassio-addons/issues/1450
This commit is contained in:
@@ -32,6 +32,10 @@ profile signalk_addon flags=(attach_disconnected,mediate_deleted) {
|
|||||||
/command/** ix,
|
/command/** ix,
|
||||||
/run/{,**} rwk,
|
/run/{,**} rwk,
|
||||||
/dev/tty rw,
|
/dev/tty rw,
|
||||||
|
/dev/ttyUSB0 rw,
|
||||||
|
/dev/ttyUSB1 rw,
|
||||||
|
/dev/ttyusb0 rw,
|
||||||
|
/dev/ttyusb1 rw,
|
||||||
/bin/** ix,
|
/bin/** ix,
|
||||||
/usr/bin/** ix,
|
/usr/bin/** ix,
|
||||||
/usr/lib/bashio/** ix,
|
/usr/lib/bashio/** ix,
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
],
|
],
|
||||||
"codenotary": "alexandrep.github@gmail.com",
|
"codenotary": "alexandrep.github@gmail.com",
|
||||||
"description": "An implementation of a Signal K central server for boats",
|
"description": "An implementation of a Signal K central server for boats",
|
||||||
"devices": [
|
"devices": [
|
||||||
"/dev/ttyUSB0",
|
"/dev/ttyUSB0",
|
||||||
"/dev/ttyUSB1"
|
"/dev/ttyUSB1"
|
||||||
],
|
],
|
||||||
"environment": {
|
"environment": {
|
||||||
"HOME": "/config",
|
"HOME": "/config",
|
||||||
"NMEA0183PORT": "10110",
|
"NMEA0183PORT": "10110",
|
||||||
@@ -41,8 +41,9 @@
|
|||||||
"1460/udp": "Custom 3"
|
"1460/udp": "Custom 3"
|
||||||
},
|
},
|
||||||
"slug": "signalk",
|
"slug": "signalk",
|
||||||
|
"uart": true,
|
||||||
"url": "https://github.com/alexbelgium/hassio-addons",
|
"url": "https://github.com/alexbelgium/hassio-addons",
|
||||||
"usb": true,
|
"usb": true,
|
||||||
"version": "2.8.3-3",
|
"version": "2.8.3-4",
|
||||||
"webui": "http://[HOST]:[PORT:3000]"
|
"webui": "http://[HOST]:[PORT:3000]"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user