mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-22 04:23:08 +01:00
Commit 734a824 was triggered by the daily_README.yaml workflow which
temporarily renames addon folders to their .name for README generation.
Both netalertx and netalertx_fa share name: NetAlertX, causing mv to
move netalertx inside the already-renamed netalertx_fa directory.
Fix: add [ ! -e "$NAME" ] guard to prevent rename when target exists.
Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
Agent-Logs-Url: https://github.com/alexbelgium/hassio-addons/sessions/b23b6b99-d4da-4c4e-926f-4067af6f16a0
35 lines
619 B
Plaintext
35 lines
619 B
Plaintext
#include <tunables/global>
|
|
|
|
profile netalertx_addon flags=(attach_disconnected,mediate_deleted) {
|
|
#include <abstractions/base>
|
|
|
|
capability chown,
|
|
capability dac_override,
|
|
capability fowner,
|
|
capability net_admin,
|
|
capability net_raw,
|
|
capability setgid,
|
|
capability setuid,
|
|
file,
|
|
signal,
|
|
mount,
|
|
remount,
|
|
umount,
|
|
network,
|
|
ptrace,
|
|
|
|
/init ix,
|
|
/run/{s6,s6-rc*,service}/** ix,
|
|
/package/** ix,
|
|
/command/** ix,
|
|
/bin/** ix,
|
|
/usr/bin/** ix,
|
|
/usr/lib/bashio/** ix,
|
|
/etc/s6/** rix,
|
|
/run/s6/** rix,
|
|
/etc/services.d/** rwix,
|
|
/etc/cont-init.d/** rwix,
|
|
/etc/cont-finish.d/** rwix,
|
|
}
|
|
|