mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-03 20:48:46 +02:00
add network capability
This commit is contained in:
@@ -2,10 +2,17 @@
|
||||
|
||||
profile addon_updater flags=(attach_disconnected,mediate_deleted) {
|
||||
#include <abstractions/base>
|
||||
|
||||
|
||||
# Capabilities
|
||||
file,
|
||||
signal,
|
||||
network udp,
|
||||
network tcp,
|
||||
network dgram,
|
||||
network stream,
|
||||
network inet,
|
||||
network inet6,
|
||||
network netlink raw,
|
||||
|
||||
# S6-Overlay
|
||||
/init rix,
|
||||
@@ -24,13 +31,13 @@ profile addon_updater flags=(attach_disconnected,mediate_deleted) {
|
||||
|
||||
# Access to Options.json and other files within your addon
|
||||
/data/** rw,
|
||||
|
||||
|
||||
# Start new profile for service
|
||||
/usr/bin/myprogram cx,
|
||||
|
||||
|
||||
profile usr/bin/myprogram flags=(attach_disconnected,mediate_deleted) {
|
||||
#include <abstractions/base>
|
||||
|
||||
|
||||
# Receive signals from S6-Overlay
|
||||
signal receive,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user