mkdir $SECURITY_MANAGER_DIR/owner
mkdir $SECURITY_MANAGER_DIR/rules
mkdir $SECURITY_MANAGER_DIR/rules-merged
-touch $SECURITY_MANAGER_DIR/apps-names
-touch $SECURITY_MANAGER_DIR/owner/apps-names
+touch $SECURITY_MANAGER_DIR/apps-labels
+touch $SECURITY_MANAGER_DIR/owner/apps-labels
touch $SECURITY_MANAGER_DIR/rules-merged/rules.merged
chmod 711 $SECURITY_MANAGER_DIR
chmod 711 $SECURITY_MANAGER_DIR/owner
chmod 700 $SECURITY_MANAGER_DIR/rules
chmod 700 $SECURITY_MANAGER_DIR/rules-merged
-chmod 444 $SECURITY_MANAGER_DIR/apps-names
-chmod 444 $SECURITY_MANAGER_DIR/owner/apps-names
+chmod 444 $SECURITY_MANAGER_DIR/apps-labels
+chmod 444 $SECURITY_MANAGER_DIR/owner/apps-labels
chmod 644 $SECURITY_MANAGER_DIR/rules-merged/rules.merged
find $SECURITY_MANAGER_DIR -exec chown root:root {} +
/usr/share/security-config/set_label
# restart services
-systemctl restart security-manager.service
-systemctl reset-failed cynara.service
-systemctl restart cynara.service
+/usr/bin/security-manager &
+/usr/bin/cynara &